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 :-\ Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.