acadia Posted July 25, 2009 Share Posted July 25, 2009 Hi All, I have a form which inserts information regarding a student into the DB which works fine however when it inserts the information into the database(which also inserts a unique identifier ) I would then like it to go to the next page passing the variable of the unique identifier (bla.php?StudentID=4 ). Is this possible as there is no unique identifier until the information has been passed to the database? Regards, Acadia Quote Link to comment https://forums.phpfreaks.com/topic/167374-solved-passing-a-variable-from-a-form/ Share on other sites More sharing options...
RussellReal Posted July 25, 2009 Share Posted July 25, 2009 mysql_insert_id Quote Link to comment https://forums.phpfreaks.com/topic/167374-solved-passing-a-variable-from-a-form/#findComment-882543 Share on other sites More sharing options...
acadia Posted July 26, 2009 Author Share Posted July 26, 2009 Awsome thanks for that I got it sorted pretty fast. Quote Link to comment https://forums.phpfreaks.com/topic/167374-solved-passing-a-variable-from-a-form/#findComment-883092 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.