-3
I have a save button in the html that serves to store the data of a form in the BD but after saving I want it to open a window asking:"New record?" with two options with yes and no. If yes open page x if it opens page y
$sqlinsert = "INSERT INTO tb_detalhe_trabalhador VALUES(0,'".$Tecnico."','".$Seguranca."','".$Nome1."','".$Funcao1."','".$Nome2."','".$Funcao2."','".$Nome3."','".$Funcao3."','".$Nome4."')" ;
mysql_query($sqlinsert) or die(mysql_error());
//mysql_query($sqlinsert2) or die(mysql_error());
Yes, Yes opens an html x page and does not open an html y page
– ChrisAdler
Only one question to open the page on the same tab? Make the page popup with the question and then open on the page where it was
– ChrisAdler