two db entries...
cannuck1964 <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.devel |
|---|---|
| Message-ID | <6557483b79d76231f2c41170f13182a2@osCommerce-Forums> |
This message was sent from: Development http://forums.oscommerce.com/viewtopic.php?p=162937#162937 ---------------------------------------------------------------- Hi there, To set up accounts in two different store databases, will require you to modifiy the bottom part of the file create_account_process.php. Some steps involved in doing this are: put both DB info's into the configutartion file (might be you can do this without the info here) make sure you lable the the second different DB defines with different names.... to make a connection to the function needs to be copied and changed to function store_two_connection......or something like that...this file can be seen in the functions/html_output.php, or find out how you can use this function to make the second connection, without the coping of the function....I am sure you can do it too.... next you will need to modify the create_account_process at the bottom part of the file you will see where the info is placed into the DB.....make your conntection here to the second db....and put the same info into this db.....don't forget to reconnect to your original store db... this is just a basic guide..... need more help, I will watch this thread for you.....I know there is a way to do the second connect without the function stuff, but I really have not looked into how this is done yet... HTH Peter