Re: php redirect

From: Date: Fri, 26 Jul 2002 15:19:45 +0000
Subject: Re: php redirect
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109749@lists.php.net to get a copy of this message
if( ___ ) { header("Location: http://www.domain.com/itworked.php"); } else { header("Location: http://www.domain.com/error.php"); } "Tyler Durdin" <linuxgeek23@hotmail.com> wrote in message news:F69CWO6hm8Ua8d9Ee4z00025777@hotmail.com... > > I have a redirect i would like to do using php. It will go something like > this > if (mysql_db_query ($dbname, $query, $link)) { > {redirect would go here} > } else { > {a different location on this redirect here} > > How can i accomplish this? i just do not know php well enough to code the > redirect. Please help. Thanks in advance and for all of the past help. > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx >

« previous php.general (#109749) next »