c) and d) are clientside functions if you have already outputted data to the browser so use Javascript to do them
-- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07763 620378 PGP Key available, send email with subject: Send PGP Key ----- Original Message ----- From: "Simos Varelakis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 12:36 PM 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]