mysql_connect (localhost, **, **);
mysql_select_db (mytable);
I have this to connect to my database and i have this to connect to another site on the same sever
mysql_connect (localhost, **, **);
mysql_select_db (theirtable);
This works as well because it's on the same server..
how can i connect to both so i can take data from one so what i need to do with it and insert it into mine... i could use both but i loop through data so don't want to keep connecting and dissconnecting from both all the time...
i thought maybe this would work but it does not
mysql_connect (localhost, **, **);
mysql_select_db (mytable, theirtable);