I just want to ask if there's any possible way to insert values in the database that has an apostrophe?
Asked
Active
Viewed 83 times
0
-
1Read http://bobby-tables.com, http://en.wikipedia.org/wiki/SQL_injection, http://www.php.net/manual/en/security.database.sql-injection.php – Craig Ringer Mar 16 '14 at 13:00
1 Answers
0
Yes.
You just need to escape it appropriately in your query. Use prepared statements, they will take care of that for you.