combo with PHP. what is wrong with the Javascript?
else
{
include("mysql. php");
$query1 = mysql_query("IN SERT INTO gbook (naam, email, text) VALUES
('".$_POST['naam']."', '".$_POST['email']."', '".$_POST['text']."')");
?>
<script language="JavaS cript">
<!--
opener.reload(t rue);
window.close();
//-->
</script>
<?
}
else
{
include("mysql. php");
$query1 = mysql_query("IN SERT INTO gbook (naam, email, text) VALUES
('".$_POST['naam']."', '".$_POST['email']."', '".$_POST['text']."')");
?>
<script language="JavaS cript">
<!--
opener.reload(t rue);
window.close();
//-->
</script>
<?
}
Comment