hello i got a parse error on this line
please somebody can help because i dont see the error!
this is the error line:
<body leftmargin="12" topmargin="12" marginwidth="12" marginheight="12">
en this is the part of code:
<?php
//variabels are send now by a form
if($van) {
if($bla1) {
//maak connectie
include("../scripts/connect.php3");
include("../scripts/functions.php3");
$datum = HuidigeDatum();
$titel = addslashes($titel);
$ISBN = addslashes($ISBN);
$eerste_druk = addslashes($eerste_druk);
$website = addslashes($website);
$uitgever = addslashes($uitgever);
$beschrijving = addslashes($beschrijving);
$id = mysql_insert_id();
//maak sql:
$sql = "insert into boek (titel, ISBN, eerste_druk, website, taal, uitgever, beschrijving, datum)
values('$titel', '$ISBN', '$eerste_druk', '$website', '$taal', '$uitgever', '$beschrijving', '$datum')";
//voer sql uit
mysql_query($sql) or die(mysql_error());
}
if($bla2) {
//maak connectie
include("../scripts/connect.php3");
//maak sql:
$sql = "insert into boek_auteur (naam, geboorte_datum, woonplaats, beroep, beschrijving) values
('$naam', '$geboorte_datum', '$woonplaats', '$beroep', '$beschrijving')";
//voer sql uit
mysql_query($sql) or die(mysql_error());
//id2:
$id2 = mysql_insert_id();
//maak nieuwe sql
$sql = "insert into boek_overzicht (auteur_id, boek_id) values ('$id2', '$id');
//voer sql uit:
mysql_query($sql) or die(mysql_error());
}
if($van <= $tot) {
if($a == 1) {
$van++;
}
?>
<head><title>phpfreakz.com</title></head>
<body leftmargin="12" topmargin="12" marginwidth="12" marginheight="12">
//follows by much more html code and php