Posts by Marcos • 41 points
2 posts
-
0
votes2
answers2789
viewsA: Display Mysql PHP errors correctly
It worked, follow the solution: $Result1 = mysql_query($insertSQL, $conecta); //or die(mysql_error()); if ($erro == 0) { echo '<p align="center">Registro efetuado com sucesso!</p>'; }…
-
4
votes2
answers2789
viewsQ: Display Mysql PHP errors correctly
Hello, I have a simple registration form, where there can be no repeated records in the field cpf and also in the field resposta(cupom). The validation of cpf is ok and the data does not duplicate…