Re: Newbie Help
| From: | Thomas Bonham | Date: | Mon, 02 May 2005 03:07:57 +0000 |
| Subject: | Re: Newbie Help | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214310@lists.php.net to get a copy of this message | ||
Andre Dubuc wrote:
On Sunday 01 May 2005 10:39 pm, Thomas Bonham wrote:That is not a typo because the index.php pages is the following: <?php header("Location: idex.php?page=main"); ?>Hello All, First of I'm new to this a hop I'm doing this right. If some one can help me with my web site page. I'm trying to make it call a page and I get a error line 42. Error: http://bonhamlinux.org/idex.php?page=links/index.php The code that I'm trying to do this is the following: <?phpI spot perhaps a typo in http://bonhamlinux.org/idex.php?page=links/index.php Might that be 'index' instead? Hth, Andreif(isset($_GET ['page'])) {include($_GET ['page'].".php");} else {echo("Page Not Set.");}?> My site is: http://bonhamlinux.org My email is: freeswimfreak@yahoo.com Thanks for all the help. Thomas^^Thanks for replying so fast.