Hi,
Can we have two connection in single PHP Script. Like I have two database on different servers.....Now i want to Transfer the data from one server to other ....
How can i do it... Can I have two connection object in single script...
Please Let me know..(currently I doesn't have the access to two database and so i cannot make a test script..🙁 )
thanks
If you assign the connection resource to a variable you can specify that resource using the variable name when running queries.
$conn1 = mysql_connect( $a, $b, $c ); $conn2 = pg_connect( $d, $e, $f );