Re: Re: include help please

From: Date: Thu, 31 Jul 2003 22:03:28 +0000
Subject: Re: Re: include help please
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-157835@lists.php.net to get a copy of this message
well crap, it turns out that i'm back to step 1, but with more code it won't load up the other files now when defined through the url. i guess that there is something wrong, but what could it be? "Loonysalmon" <l33trus@hotmail.com> wrote in message news:20030731213327.36580.qmail@pb1.pair.com... > if (isset($page)) { > include $$_GET['page']; > } else { > $page = $home; > include $page; > } > > would that be right? > or should i use > > if (isset($page)) { > include $$_GET['page']; > } else { > include $home; > } > > hopefully that's right. if so, pretty good for a n00b > >

« previous php.general (#157835) next »