Jump to content

3 php/sql scripts merged together?


brandye71

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/35963-3-phpsql-scripts-merged-together/
Share on other sites

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.