php-general | 2005051
Date: 05/01/05
- Next message: Thomas Bonham: "Re: [PHP] Newbie Help"
- Previous message: Thomas Bonham: "[PHP] Newbie Help"
- In reply to: Thomas Bonham: "[PHP] Newbie Help"
- Next in thread: Thomas Bonham: "Re: [PHP] Newbie Help"
- Reply: Thomas Bonham: "Re: [PHP] Newbie Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sunday 01 May 2005 10:39 pm, Thomas Bonham wrote:
> 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:
> <?php
> if(isset($_GET ['page']))
> {include($_GET ['page'].".php");}
> else
> {echo("Page Not Set.");}
> ?>
>
> My site is: http://bonhamlinux.org
> My email is: freeswimfreak <email protected>
>
> Thanks for all the help.
> Thomas
I spot perhaps a typo in http://bonhamlinux.org/idex.php?page=links/index.php
Might that be 'index' instead?
Hth,
Andre
^^
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Thomas Bonham: "Re: [PHP] Newbie Help"
- Previous message: Thomas Bonham: "[PHP] Newbie Help"
- In reply to: Thomas Bonham: "[PHP] Newbie Help"
- Next in thread: Thomas Bonham: "Re: [PHP] Newbie Help"
- Reply: Thomas Bonham: "Re: [PHP] Newbie Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

