if( ___ ) {
  header("Location: http://www.domain.com/itworked.php";);
} else {
  header("Location: http://www.domain.com/error.php";);

"Tyler Durdin" <[EMAIL PROTECTED]> wrote in message
> 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

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to