Simple Alert Message then Redirect?
| From: | PartyPosters | Date: | Thu, 07 Apr 2005 17:30:57 +0000 |
| Subject: | Simple Alert Message then Redirect? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-212555@lists.php.net to get a copy of this message | ||
Hello I want to display an alert message then after users click ok I want to automatically goto a
URL
if ($var_stock_count == 0){
alert("Message")
redirect("http://www.google.co.uk");
}
Can someone help me put this right.
Thanks
Kaan.