Hello, I want to display countdown timer in H:m:s format. for this i am using frames, top frame contains the timer, (autorefresh and the time is updated), in the bellow frame, test qustions are there. On reaching the target time, i want to redirect the whole page to a new page or (which contains the message the time is over). How to do this? code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859- 1"> </head> <frameset rows="80,*" frameborder="NO" border="0" framespacing="0"> <frame src="head.php" name="topFrame" scrolling="NO" noresize > <frame src="body.php" name="mainFrame"> </frameset> <noframes><body> </body></noframes> </html> head.php ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <?php $target="1087672442";//timestamp echo time(); if($target<=time()) { header("Location:timeover.php"); } ?> <meta http-equiv="refresh" content="1;URL=head.php"> </head> <body> </body> </html> <?php ob_end_flush(); ?> body.php contains the questions Thanks, Bye PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/