Edward Posted November 12, 2012 Share Posted November 12, 2012 I was just doing PDO prepared statements but with these you didn't define whether the data being inserted was a integer, decimal or string. So does that mean these are not as secure as our standard MySQLi prepared statements. Link to comment Share on other sites More sharing options...
Larry Posted November 12, 2012 Share Posted November 12, 2012 No, it does not mean that. I believe PDO handles that automatically internally. 1 Link to comment Share on other sites More sharing options...
Edward Posted November 13, 2012 Author Share Posted November 13, 2012 I see, well i decided i would use PDO from now on after the ease of your reading or how things should be explained, as its more professional leaving the room for change later on. Link to comment Share on other sites More sharing options...
Larry Posted November 13, 2012 Share Posted November 13, 2012 I bounce back and forth between PDO and MySQL Improved. On the Yii book site, I used PDO. On the project before that, MySQLI. Link to comment Share on other sites More sharing options...
Edward Posted November 13, 2012 Author Share Posted November 13, 2012 Well there is no harm in that but its nice for something to be flexible in case you do change your mind later and opt for MSSQL. Link to comment Share on other sites More sharing options...
Recommended Posts