Answer the question
In order to leave comments, you need to log in
Do I need to be wary of quotes in the DB?
PHP+Mysql
Data is added to the database via PDO (named placeholders), when filling in the input field with quotation marks, for example, "Horns and Hooves" LLC, this phrase appears in the database in exactly this form. With this method of working with the database, is it necessary to be wary of quotes and other symbols potentially dangerous for sql?
Answer the question
In order to leave comments, you need to log in
The second item in the list php.net/manual/en/pdo.prepared-statements.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question