|
The functions for connecting to a mysql and an mssql database are different, as are the functions for querying those databases. PDO abstracts away from that only so far as connecting and querying a database. That, however may be all that you need considering that SQL is roughly the same no matter what database you are using. It is possible that a query in mssql be identical to a query in mysql, you need only be concerned when a query utilizes a database feature that exists in one but not the other.
PDO, mysql, mssql and a few other database functions are built into php (5.1 or higher for pdo) so you do not have to make any changes to the php.ini or install any dlls to make them work.
|