Answer the question
In order to leave comments, you need to log in
How do you know if a PDO request is successful?
How to understand if the request to the database was successful, PDO?
execute() - always returns true or an exception...
mb RowCount() > 0 - lucky, right?
Answer the question
In order to leave comments, you need to log in
try {
$res->execute();
} catch (Exception $e) {
die("Ошибка");
}
// нет ошибки...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question