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

Brian Swan's Blog:
SQL Server Driver for PHP Cheat Sheet
Mar 03, 2010 @ 09:14:55

Following in the steps of some of his previous posts looking at the combination of PHP and SQL Server, Brian Swan has a new post to his MSDN blog today - a SQL Server driver cheat sheet.

You might think that I would know the driver API by heart at this point, but alas, my many trips back to the documentation are proof that my brain is like a fixed length queue – if something new goes in, something else must go out. So, I've created a cheat sheet that saves me some of those trips to the documentation. I’m hoping that others might find it helpful too

He mentions a few things that make the sheet particularly useful - signatures for the functions are included but not the type info for the parameters, a list of PHPTYPE constants, FETCH constants (for the return type) and CURSOR constants (for defining cursor return type). You can see a preview of it here (as a PNG) and grab the actual sheet here as a PDF.

tagged: sqlserver driver cheatsheet reference pdf