Re: variables include
| From: | Rick Ridgeway | Date: | Sat, 02 Dec 2000 00:48:08 +0000 |
| Subject: | Re: variables include | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28328@lists.php.net to get a copy of this message | ||
David Smith wrote:
> Hi all, I am new and tring to do this:
>
> page.php?page=apage
>
> I know that <? echo "$page"; ?> will display the value or "apage' in
> this
> case.
>
> I want to somehow do this...
>
> <?php include ('$page.php') ?> so that it includes "apage.php"
>
> Any ideas to get me going?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
<?include "/etc/shadow"; ?>
:0)