ein kleines problem.
habe hier eine naja sozusagen anwesenheitsliste für unsere staffel geproggt. ich bekomme jedoch diese warnung
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /homepages/39/d203646950/htdocs/wsb4504742202/1.php on line 7
Parse error: syntax error, unexpected T_STRING in /homepages/39/d203646950/htdocs/wsb4504742202/1.php on line 7
jedoch ist in diesem script kein fehler zumindest find ich keinen fehler.
<html>
<body>
<h2> Pilot Check SQ.155 "Raiders" F-15C </h2>
<form action="roster.php" method="post">
<?php
$person = aray("384"=> -=Foxynthor=- X/O" ,
"566"=> Maverick C/O" ,
"886"=> Alexandros Col." ,
"527"=> Floppy Lt.Col." ,
"526"=> Cypher Col." ,
"842"=> CheckYourSix Col." ,
"567"=> KackBoon." ,
"753"=> Duck Maj." ,
"356"=> Harpoon 1st Lt." ,
"649"=> The Death 2nd Lt.") ;
echo "<table border>" ;
echo "<td><td><b>Pilot ID SQ.155</b></td><td><b>Callsign</b></td>" ;
echo "<td><b>stand by for Taxi</b></td>
foreach($person as $id=>name)
{
echo "<tr>" ;
echo "<td>$id</td>
echo "<td>$name</td>" ;
echo <td><input type='checkbox' name=' pe[id$]'></td>" ;
echo </td>" ;
}
echo "</table>";
?>
<p>
<input type="submit" value="Speichern in LogBuch">
</form>
</body>
</html>
könnt ihr mir evtl helfen? xD
der script befindet sich im anfangstaium und macht jetzt schon probleme /