Added PHP inside a webpage doesn't work

IWOXX
12 Posts
IWOXX posted this 13 March 2024
Ask a Question

Hi team,

I added a PHP in a block with a simple echo command and it doesn't display.
Must I use another CSS class to get the text displayed or is this a bug?
It looks like the PHP is not execute if you take a look into the source of the display page!

Please see also attached screen shots!

Thank you!

KR IWOXX

Hi team, I added a PHP in a block with a simple echo command and it doesn't display. Must I use another CSS class to get the text displayed or is this a bug? It looks like the PHP is not execute if you take a look into the source of the display page! Please see also attached screen shots! Thank you! KR IWOXX
Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 13 March 2024

Hello Dieter,

Thank you for reaching out.

Please specify where exactly you are creating and testing your PHP code.

Kindly be informed that the PHP element was initially created for WordPress and Joomla integration within Nicepage. Unfortunately, PHP code execution is not supported in HTML projects.

We recommend using JavaScript or jQuery for standalone HTML projects for dynamic content generation or manipulation.

If you have any further questions or need assistance, feel free to contact us.
...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Dieter, Thank you for reaching out. Please specify where exactly you are creating and testing your PHP code. Kindly be informed that the PHP element was initially created for WordPress and Joomla integration within Nicepage. Unfortunately, PHP code execution is not supported in HTML projects. We recommend using JavaScript or jQuery for standalone HTML projects for dynamic content generation or manipulation. If you have any further questions or need assistance, feel free to contact us. ................................................... Sincerely, Ahmad. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments