How can we connect two databases to PHP at same time.
Like .. retrieve data from Mysql and compare it with MSSQL data.
:-/

You can use mysql_connect and mssql_connect. See php.net for more information and examples.

Thank yu
thats fine.

will there be any clash between dbs if we use

$mydb=mysql_connect();
$msdb=mssql_connect();

mysql_query();
mssql_query;

No issues?

Is it!!!!

You can use mysql_connect and mssql_connect. See php.net for more information and examples.

That will work just fine.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.