0
Let’s say I have an update button in the bank.
$query = mysql_query("UPDATE $tabela set algo='$algo' WHERE id=1);
if ($query) {
echo "sucesso";
} else {
echo 'falha';
}
to check if the query was registered in the database successfully (if there was no error in connection (eg: connection crashed) or if there was an error in the update) I do the above procedure?
This already solves the problem. Or has some other problem, besides using obsolete functions.
– rray