trying to figure out a way to handle errors...
parent
344a9f12e8
commit
7b290f5c10
|
@ -9,6 +9,8 @@
|
||||||
|
|
||||||
$result_auth_by_name = $statement_auth_by_name->execute(array('name' => $_POST['name']));
|
$result_auth_by_name = $statement_auth_by_name->execute(array('name' => $_POST['name']));
|
||||||
echo $statement_auth_by_name->queryString;
|
echo $statement_auth_by_name->queryString;
|
||||||
|
echo "\n";
|
||||||
|
echo $statement_auth_by_name->errorInfo()[2];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue