Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Swan's Blog:
PDO Cheat Sheet for SQL Server Driver for PHP
Apr 22, 2010 @ 12:09:53

For those using (or wanting to use) the SQL Server driver for PHP via PDO, Brian Swan has a handy resource for you - a PDO Cheat Sheet.

With this weeks release of the SQL Server Driver for PHP 2.0 CTP 1 (which includes a PDO driver for SQL Server), I need to get up to speed quickly. And, the truth is, I’m fairly inexperienced with PDO, so a cheat sheet is helping me learn the API. Besides, there are some constants that are database specific...I don’t stand a chance of keeping those at the ready without a cheat sheet.

This cheat sheet is for this first release of the PDO driver, so it'll probably change as time goes on, but it's a good starting place. You can find out more details about the methods and constants mentioned on the PDO page of the PHP.net site.

tagged: pdo cheat sheet sqlserver driver