Daryl B Posted July 30, 2007 Share Posted July 30, 2007 Hi All, on my 'Register Member Page', if a user successfully fill's in all the fields, then they get sent to a new page where it say's "You have successfully Registered" if( (!$fname == null) or (!$sname == null) or (!$email == null) or (!$username == null) or (!$password == null)) { $query = "INSERT INTO members (Firstname, Surname, email, username, password) VALUES('$fname', '$sname', '$email', '$username', '$password')"; mysql_query($query) or die(mysql_error()); mysql_close(); echo "You have successfully Registered"; } endif; What i wanted to do was show this page for about 10 seconds then, the user gets automatically directed to the login page. Any information is great. Many thanks :-\ Link to comment https://forums.phpfreaks.com/topic/62534-php-redirect-after-page-has-loaded/ Share on other sites More sharing options...
GingerRobot Posted July 30, 2007 Share Posted July 30, 2007 Tis a job for javascript. Google timed javascript redirect. Link to comment https://forums.phpfreaks.com/topic/62534-php-redirect-after-page-has-loaded/#findComment-311259 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.