How do I use a try catch to return me an error from an insert that was not inserted into the database. For example
$sql = $pdo->prepare("INSERT INTO usuarios (nome,email,senha,telefone) VALUES (:nome,:email,:senha,:telefone)");
$sql->...
asked by
28.06.2018 / 22:14