if ($resultado) {
$mysql->commit();
echo "<script>
jQuery(function(){
swal(\"¡Inscripción realizada exitosamente!\", \"Sus datos fueron enviados correctamente \", \"success\");
}
window.history.go(-1);
);
</script>";
Good evening everyone,
I am unable to operate the window.history.go (-1) I need that once an INSERT has been made in the Database, an alert is shown, in this case with sweet alert and then return to the page of the form, but I do not know how to do it.
Could you please guide me to solve this? Thank you very much already.