Running PHP Scripts in Includes
Posted: Fri Oct 28, 2011 9:40 am
I'm trying to call a PHP script from inside an include. I have my include named FILENAME.php and am then including it with [-- INCLUDE FILENAME.php PROCESS --]
The include's a simple hello world at the moment.
The PHP is appearing in the source of the markup without being interpreted.
Any advice on what I'm doing wrong?
Bryan
The include's a simple hello world at the moment.
- Code: Select all
<?php echo 'hello world';?>
The PHP is appearing in the source of the markup without being interpreted.
Any advice on what I'm doing wrong?
Bryan