N/APosted on - 08/21/2011
Is there any STANDARD query about PHP connecting through SQL.
I've done a lot of research but the web was too genius and gave me tons of answer , where I can't test them all . It's a waste of time. So I came here to ask a Question Directly .
I repeat, is there any STANDARD query about PHP connecting through SQL.
connection = mysql_connect($host,$user,$password)
or die("Could not connect: ".mysql_error());
or die("Error in selecting the database:".mysql_error());
Please specify the errors that I committed.
Php and Sql connection query
Since you've exactly pointed out, hold for the area mssql driver is not compiled into the most recent Windows PHP binaries. Currently the existing firm is free of mdb2 “2.4.1” and does not hold the certified Microsoft sqlsrv local driver.
Though you're prepared to reside on the border, a bit by the beta discharge of mdb2 then all is not lost. Here is a Microsoft local sqlsrv driver that is a component of the in 2.5.0b3 discharge:
Use compatible software in your system. In that case the problem will be set, if not you can add another one that is compatible with your system.