php issue

greg332
2 Posts
greg332 posted this 17 December 2023
Ask a Question

wanted to add a php block to my website, but it is not showing the basic echo text I am testing with. Then, I found this discussion that says the php code will only work in Wordpress or Joomla CMS. Is this true?

Here is the discussion:
https://nicepage.com/questions/190361/how-to-use-php-code-in-nicepage

Here is the page I added basic code to. It is only displaying the php box (light green box below the word Hollywood) and no text.
https://www.fibsbrewing.com/2024/index.html

wanted to add a php block to my website, but it is not showing the basic echo text I am testing with. Then, I found this discussion that says the php code will only work in Wordpress or Joomla CMS. Is this true? Here is the discussion: https://nicepage.com/questions/190361/how-to-use-php-code-in-nicepage Here is the page I added basic code to. It is only displaying the php box (light green box below the word Hollywood) and no text. https://www.fibsbrewing.com/2024/index.html
Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 18 December 2023

Hi Greg,

Yes, the information you found is correct. Nicepage, as a static website builder, doesn't execute server-side scripting languages like PHP. PHP is typically used on server-side environments, and the code is processed on the server before sending the result to the client's browser. Since Nicepage generates static HTML, CSS, and JavaScript files that run on the client side, PHP won't be executed.

If you need dynamic functionality on your website, you may want to consider using a server-side platform like WordPress, Joomla, or other CMS (Content Management System) that supports PHP.

For static websites created with Nicepage, any dynamic content or interactivity would need to be implemented using JavaScript or other client-side technologies.
...................................................
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

Hi Greg, Yes, the information you found is correct. Nicepage, as a static website builder, doesn't execute server-side scripting languages like PHP. PHP is typically used on server-side environments, and the code is processed on the server before sending the result to the client's browser. Since Nicepage generates static HTML, CSS, and JavaScript files that run on the client side, PHP won't be executed. If you need dynamic functionality on your website, you may want to consider using a server-side platform like WordPress, Joomla, or other CMS (Content Management System) that supports PHP. For static websites created with Nicepage, any dynamic content or interactivity would need to be implemented using JavaScript or other client-side technologies. ................................................... 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