On Wednesday 17 April 2002 15:37, SHEETS,JASON (Non-HP-Boise,ex1) wrote: > if(Criteria=$Input) { > Header("Location: http://www.yourplace.com/Pagename.php"); > exit; > } elseif(Criteria=$SomethingElse) { > Header("Location: http://www.yourplace.com/somewhereelse.php"); > exit; > } else { > Header("Location: http://www.yourplace.com/error.php"); > exit; > }
remember to use == also, otherwise your doing an assignment matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php