- Joined
- Sep 8, 2007
- Messages
- 202
- Reaction score
- 24
I need to Select data from 1 Database.Table and update another Database.Table.
Any help help would be greatly appreciated.
Sorry i didn't' really know how to explain the problem.
Thanks for your time and patience
Sincerely,
- xHalloweenx
PHP:
<!-- Current DB Connect/Select -->
$connect = mssql_connect("$Server", "$User_ID", "$Password");
$member_db = mssql_select_db("$Member"); <!-- only 1 database -->
----------------
<!-- Queries i need to execute -->
<!-- Database 1 Query -->
mssql_query("SELECT column_name1 FROM table WHERE column_name2 = 'Value1'");
<!-- Database 2 Query -->
mssql_query("UPDATE table SET coumn_name3 = 'value3' WHERE column_name1 = 'value2'");
Sorry i didn't' really know how to explain the problem.
Thanks for your time and patience
Sincerely,
- xHalloweenx

