Reputation: 17099
Should be a simple enough question:
If I am using mysqli prepared statements, do I still need to use mysqli_real_escape_string()
as well?
Is this necessary, or a good idea?
Thanks, Nico
Upvotes: 9
Views: 612
Reputation: 14183
No. If you use prepared statements, escaping is done for you.
Upvotes: 16