RE: [PHP] Link

From: Date: Wed, 17 Apr 2002 15:04:05 +0000
Subject: RE: [PHP] Link
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-93333@lists.php.net to get a copy of this message
if(Criteria=$Input) { Header("Location: http://www.yourplace.com/Pagename.php"); } elseif(Criteria=$SomethingElse) { Header("Location: http://www.yourplace.com/somewhereelse.php"); } else { Header("Location: http://www.yourplace.com/error.php"); } Hope this helps.... Brian -----Original Message----- From: Ron Allen [mailto:allenr@fwd.areur.army.mil] Sent: Wednesday, April 17, 2002 11:05 AM To: php-general@lists.php.net Subject: [PHP] Link I am performing and if elseif and else statement how would I make it so that if a condition is met than it will automatically redirect you to another page???? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#93333) next »