PHP Code

The PHP Code component allows to include PHP code directly into the website.

This is useful for example to extend the website with more features, like guestbooks, blogs, and similar. Note: You need to run your website on a web server which supports PHP in order to make this work. Also, you should ensure that the file name extension of the web page which includes a PHP code element usually should end with '.php' instead of '.html', so you might want to rename your page for that.

There is a detailed tutorial showing how to use the PHP code element.


This component supports several background modes (Color, Image, Gradient), changeable by selecting the property 'BackgroundMode'. It also supports several border modes. These are only available when the checkbox 'CreateDivAroundCode' is checked.

By double-clicking the element or by selecting the button '...' on the 'Code' entry in the property window, you can directly enter the PHP code.

Copyright by Ambiera e.U.