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
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.