Topic: How to use PHP in a Dynamic Include
If you type plain text, the plain text will replace the DI in your pages.
If you put a php script into the DI, whatever you echo out will replace the DI in your pages.
Also, when using a php script, any #vars# you set active for the DI are presented as php variables.
Here's an example of php use when you have set a #city# var active for a DI:
<?php $city_t = ucwords(strtolower($city)); // make a titlecase city variable echo "I live in the city of $city_t."; ?>
Of course this is a simple example. You can do most anything with your php script. Retrieve data from a database. Read files etc.
Anything you echo out of the script will be placed into your DI in your pages.