Does anyone have experience with embedding your own PHP code within PHPLD? I am trying to integrate my new advertising system in with the new directories I am creating. I just need to do a simple db lookup and echo the results. Does anyone know how to embed this in PHPLD?
Embed it in index.php or some other file and then include that file. Assign that variables to the template and then use that ones in the template for the final output.
thats too much work. All you do is type this code {include_php file="yourfile.php"} Code (markup): into any .tpl file you want and yourfile.php will have to be in the root folder of your phpld directory.