I have a save button in the html that serves to save the data of a form in the DB but after saving I want it to open a window asking: "New registration?" with two options with yes and no. If yes opens the page x if it does not open the page and
$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());