title: PDO in Codeigniter - Protect vs SQL Injection
body: <p>True PHP Security experts, is PDO the way to go or would I be ok with Codeigniter's Active Record class?</p>
  
  <p>I have read <a href="http://codeigniter.com/forums/viewthread/179618/" rel="noreferrer">http://codeigniter.com/forums/viewthread/179618/</a> and am not 100% convinced.<br>
  I usually lean on experts such as Chris Shiflett and OWASP for security tips.  <a href="http://shiflett.org/blog/2006/jul/the-owasp-php-top-5" rel="noreferrer">http://shiflett.org/blog/2006/jul/the-owasp-php-top-5</a></p>
  
  <p>Been using a homebrewed PDO DB Class in place of the Codeigniter Database files.  Everytime I upload it is a relatively small pain to copy over.  The main reason I use PDO is to protect from SQL Injection vs using Active Record.  </p>
  
  <p>EDIT:  <strong>NOT TO BE A SHILL</strong> but I wrote a post after the fact on how to integrate 
  <a href="http://christopherickes.com/web-app-development/using-pdo-in-codeigniter/" rel="noreferrer">PDO in Codeigniter</a>.  If anyone has feedback, I would be happy to hear.</p>