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:[EMAIL PROTECTED]] 
Sent: 17. tammikuuta 2002 14:37
To: [EMAIL PROTECTED]
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to