RE: [PHP] Display a mesagge and redirect (newbie)

From: Date: Thu, 17 Jan 2002 13:36:36 +0000
Subject: RE: [PHP] Display a mesagge and redirect (newbie)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80912@lists.php.net to get a copy of this message
I recommend you to use javascript for this one. That way you can make sure that client sees the message exactly for time you've decided (like 3 seconds). So: a) Just do It b) Just do It c) JavaScript for this one, launched _after_ page has loaded completely (use <Body onLoad="script()"> -tag for that) d) Times up. location.href will take you where you want. Niklas -----Original Message----- From: Simos Varelakis [mailto:simos@athenatours.gr] Sent: 17. tammikuuta 2002 14:37 To: php-general@lists.php.net Subject: [PHP] Display a mesagge and redirect (newbie) Hi to everyone I want to do the following and i dont know if its possible with php code a) run a mysql query b) display a simpe message c) delay few seconds d)auto redirect to a page can I do this with php i know how to do a) and b) and I can't do c) and d) note that if i try d) with function header ("location URL'") got an error for headers already send :-( Thanks in advance for your help and time Best regards simos

« previous php.general (#80912) next »