At 15:55 3-4-2003, you wrote:
Hi,

How would one redirect a user to a different page if a certain condition was
met?

i.e.

if($condition == true){
    goTo newPage.php
}

if ($condition == true)
{
Header("Location: "http://www.sense.nl/index.php?module=ContentExpress&func=display&ceid=15";);
}


take care that your script does not create any output before this,because then you will get an error (headers already sent)


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



Reply via email to