Re: Help, please.

From: Date: Sat, 17 Dec 2005 16:23:17 +0000
Subject: Re: Help, please.
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-30108@lists.php.net to get a copy of this message
Since your problem has nothing to do with webmastering of the php.net website, it does not belong in here.... Please contact php-general@lists.php.net (a mailing list) with support questions or see http://php.net/support for more support options. Regards, Gabor Hojtsy Admin@LoM-Online.tk wrote: > I do not know why this isn't working, but it would be very helpful if someone looked over > it. > > <? > $defaultpage = > "http://lom.game-host.org/uploads/erik/"; > > If($page == NULL) { > $page = "one"; > } > > if($page == "one") { > Echo "<html><head><title>Page > One</title></head><body>It works!!<br><a href=\"" . > $defaultpage . "index.php?page=two\">Nice...</a></body></html>"; > } > > elseif($page == "two") { > Echo "<html><head><title>Page > Two</title></head><body>This is page " . $page . " -- <a > href=\"" . $defaultpage . > "index.php?page=\">;D</a></body></html>"; > } > > elseif( ($page != "one") or ($page != "two") or ($page != NULL) ) { > Echo > "<html><head><title>Undefined!</title></head><body>page > isn't defined correctly!</body></html>"; > } > > if($page == "") { > echo > "<br><br><br><br><br><br><br><br><a > href=" . $defaultpage . ">Main Page..</a>"; > } > ?> > > Thank you, > > Erik Johnson

« previous php.mirrors (#30108) next »