Posts by Luciano Lopes • 1 point
1 post
-
-1
votes4
answers1592
viewsA: How to ask the PDO if the insertion was made or error?
Only use this after running it(): $stmt->execute(); $foo_arr = $stmt->errorInfo(); print_r($foo_arr);
1 post
-1
votes4
answers1592
viewsOnly use this after running it(): $stmt->execute(); $foo_arr = $stmt->errorInfo(); print_r($foo_arr);