What's ASP????
I don't know if and haven't learned it so it couldn't be. After all, how
many programming languages does one need to know??
Advertising
-----Original Message-----
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 8:27 AM
To: 'David Buerer'; [EMAIL PROTECTED]
Subject: RE: [PHP] php redirect
[snip]
This is the only way I've figured out how to do it. It seems to work really
well.
if (mysql_db_query ($dbname, $query, $link)) {
gotourl("myurl1");}
} else {
gorourl("myurl2");}
function gotourl(myurl)
{
echo "<SCRIPT language=javascript>";
echo " window.location=$myurl;";
echo "</SCRIPT>\n";
}
[/snip]
Isn't this ASP....? ;^]
Jay
My other car is a broom
*************************************
* Want to meet other PHP developers *
* in your area? Check out: *
* http://php.meetup.com/ *
* No developer is an island ... *
*************************************