swamp Posted March 25, 2008 Share Posted March 25, 2008 Hello, I have just got a user managment system online, where users can signup, login, modify account settings etc.. I also have a phpbb2 forum setup. Both systems use the same mySQL database, with different table names. Is it possible to have the form that people use to signup to my login system also add the information they submit (username, password, email etc..) to the phpbb_user table aswell as my users SQL tables? I do not necessarily want both of the systems running off the same SQL tables, but just so that when they signup on the website they can also login to the forum with the same details. I've searched for a while on google with little progress. Any advice would be appreciated, Thanks, swamp. Link to comment https://forums.phpfreaks.com/topic/97829-form-output-to-two-mysql-tables/ Share on other sites More sharing options...
TimUSA Posted March 25, 2008 Share Posted March 25, 2008 What CMS are you using? For phpbb and joomla, there is a bridge that can be used. Link to comment https://forums.phpfreaks.com/topic/97829-form-output-to-two-mysql-tables/#findComment-500519 Share on other sites More sharing options...
swamp Posted March 25, 2008 Author Share Posted March 25, 2008 I'm not using a CMS. I've just modified and integrated a php login script into my own website. Cheers, swamp. Link to comment https://forums.phpfreaks.com/topic/97829-form-output-to-two-mysql-tables/#findComment-500521 Share on other sites More sharing options...
soycharliente Posted March 25, 2008 Share Posted March 25, 2008 Just add another SQL statement. If you've got a SQL statement that will add them to the users table upon registering, just add another line right after that to add them to the forum users table. Link to comment https://forums.phpfreaks.com/topic/97829-form-output-to-two-mysql-tables/#findComment-500527 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.