parser fejl
Hvorfor får jeg en fejl der siger parser error on line 51 det er sidste linie i det her.<?php
if (!isset($PHP_AUTH_USER)) {
header("WWW-Authenticate: Basic realm=\"Sø 02\"");
header("HTTP/1.0 401 Unauthorized");
echo "Du har ikke adgang\n";
exit;
} else {
require('dbconnect.php');
} //bruger kontrol slut
if (!mysql_pconnect($server, $brugernavn, $password)) {
echo mysql_error()."\n";
die("Unable to connect\n");
}
mysql_select_db("$db_navn")
or die("Unable to select db ".mysql_error()."\n");
?>
<? //indsæt i databasen
if ($submit=="Hent tilmeldingsblanket") {
$sql= "update antalTilmeld_tabel set
mini_LejrForm = '$mini_LejrFormValg',
antal_Mini = '$antal_Mini', antal_Ml = '$antal_Ml',
junior_LejrForm = '$junior_LejrFormValg',
antal_Junior = '$antal_Junior', antal_Jl = '$antal_Jl',
trop_LejrForm = '$trop_LejrFormValg',
antal_Trop = '$antal_Trop', antal_Tl = '$antal_Tl',
antal_Senior = '$antal_Senior',
antal_Andre = '$antal_Andre',
antal_Baade = '$antal_Baade'
where konto_Nr = '$konto_Nr'";
mysql_query($sql)or die(mysql_error());
}
?>
<?
include('Minitilmeld.php);
?>
<html>
<head>
<title>Tilmeldings siden til Sø 02</title>
<link rel="stylesheet" href="soe02.css">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<? Mini($antal_Mini);?>
</body>
</html> //dette er linie 51
Minitilmeld.php indeholder en function der laver en tabel.
Kan nogen hjælpe....
