plain PHP file

All Quick 'n Easy Web Builder support issues that are not covered in the forums below.
Post Reply
mysli
Posts: 4
Joined: Wed Feb 22, 2023 4:17 pm

plain PHP file

Post by mysli »

Hi All,

I am new to QnEWB and trying to add a plain PHP file to my project.
The PHP file should only contain my PHP code, no surrounding HTML stuff.
Any good way how to do that?

Currently I am using the "HTML" element from the toolbox, and enter my PHP code there,
but this gives me the surrounding HTML stuff which prevents my PHP script from running
correctly. After publishing I always need to edit my PHP file to remove all the HTML stuff.
But this is not a good way, as it needs to be done for each publishing again and again.

So, what does the experts here say, how should I do it right?

BR
Daniel
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: plain PHP file

Post by Pablo »

You can make external (PHP) files part of site structure by adding it via the Site Manager -> Insert External File
Post Reply