views:

55

answers:

2

I know my SQL safety isn't up to par. I've read on this site that PHP PDO would be a good first step, and while I did take a look at the PDO Manual it's a bit daunting. Is there somewhere I can find a tutorial on the basics of using PDO rather then straight MySQL calls?

+2  A: 

This one is maybe a bit long-winded, but gave me good information when I was getting into it, and has very nice examples.

Pekka
A: 

Paul DuBois' article Writing MySQL Scripts with PHP and PDO is a good starting point, and a bit shorter.

The writing style is more clear than that of the PHPro article. Since Paul is a professional tech author (he also wrote the O'Reilly MySQL Cookbook), he's a tough act to follow. :-)

Royce Williams