note 48665 modified in function.eval by cece
| From: | cece@php.net | Date: | Thu, 27 Oct 2005 11:06:07 +0000 |
| Subject: | note 48665 modified in function.eval by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97681@lists.php.net to get a copy of this message | ||
There's a much easier way to dynamically load PHP pages:
eval('?>' . $the_page . '<?php ');
where $the_page is a standard PHP page with <?php ... ?> tags around the portions to be
parsed.
--was--
There's a much easier way to dynamically load PHP pages:
eval('?>' . $the_page . '<?php');
where $the_page is a standard PHP page with <?php ... ?> tags around the portions to be
parsed.
http://php.net/manual/en/function.eval.php