brandye71 Posted January 27, 2007 Share Posted January 27, 2007 Hi,I have a website that I built off a dating script. I've also installed phpboard and wordpress blog, all separate. Is there any possible way to get the username/password to merge for all 3 of them? As of now, you have to register for all 3 separately. I'd like it that once someone registers off the main date script, the username/password also registers them for the board and the blogs. I've tried googling this but honestly, have no idea what search terms to use. I'm not pulling up anything relevant. These are all php/mysql scripts. Quote Link to comment https://forums.phpfreaks.com/topic/35963-3-phpsql-scripts-merged-together/ Share on other sites More sharing options...
bibby Posted January 28, 2007 Share Posted January 28, 2007 I'm going with yes. Each system should have it's own database, so google for how to manage multiple database connections in the same script, or experiment on your own using mysql_query()'s oft forgotten second parameter , the resource identifier. [url=http://us2.php.net/manual/en/function.mysql-query.php]http://us2.php.net/manual/en/function.mysql-query.php[/url].Each of these systems also have a query that adds a user. When that happens, add the user to the other two. There shouldn't be anything difficult about this, unless one day you pulled them apart. Quote Link to comment https://forums.phpfreaks.com/topic/35963-3-phpsql-scripts-merged-together/#findComment-170826 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.