Re: Re: include help please

From: Date: Thu, 31 Jul 2003 21:05:23 +0000
Subject: Re: Re: include help please
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-157823@lists.php.net to get a copy of this message
LoonySalmon wrote:
that isn't really what i want i want to have a seperate file where i declare the variables. what i'm getting at here is this, well, take a look at this page: http://l33trus.servebeer.com/site/index.php i just want to include a page into the table where it says that it's included what i'm going for here is to choose the page i want in that space by defining it in the url, such as http://l33trus.servebeer.com/site/index.php?page=contact but how would i do that?
Based on the code posted before I think you should be able to do: include $$_GET['page']; - Brad

« previous php.general (#157823) next »