mysql_real_escape_string() and PDO

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

mysql_real_escape_string() and PDO

Post by neophyte »

Does anybody know what the equivalent to mysql_real_escape_string is for PDO?

Should I use mysql_real_escape_string in combination with PDO?

Does binding take care of escaping user input?

Thanks
Post Reply