-
☆ A M B ☆
- 24,524 Posts
Does xPDO support prepared statements with php < 5?
-
☆ A M B ☆
- 24,524 Posts
Ok. Now I need to really spend more time learning how to use xPDO. I’ve been studying MySQL with a view towards increasing security, and was rather surprised to learn that mysql_real_escape_string() isn’t all that great. Looks like prepared statements with carefully validated user input is closer to the answer. But it takes mysqli, which most shared hosts don’t seem to have, or PDO which of course is only good for php 5. Or xPDO!