Ik heb deze code :
maar ik krijg een parse error op lijn 51 ... terwijl ik maar 50 lijnen heb ...
... .
PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
| <? include("connect.php3"); ?> <html> <head> <title>Michel's Cijfers</title> <style> .update2 { color : 8AABBE; font-family : verdana; font-size : 8pt; text-decoration : none; } .update { color : white; font-family : verdana; font-size : 8pt; text-decoration : none; } .update:hover { color : white; font-family : verdana; font-size : 8pt; text-decoration : none; text-style : bold; } body { color : black; font-family : verdana; font-size : 10pt; text-decoration : none; } td { color : black; font-family : verdana; font-size : 10pt; text-decoration : none; } a { color : black; font-family : verdana; font-size : 10pt; text-decoration : underline; } </style> </head> <body leftmargin='0' topmargin='0' background='bg.gif'> <table cellspacing='0' cellpadding='0'> <tr><td width='169' valign='top'> <table cellspacing='0' cellpadding='0'> <tr><td width='169' background='logo.gif' height='99' align='right' valign='top'><br><br><br><a href='/'>[img]'gohome.gif'[/img]</a>&nbsp;</td></tr> <tr><td width='169' background='kopje.gif' height='14' class='update'>[img]'hokje.gif'>[/img]Home</b></td></tr> <tr><td width='169' class='update2'> &nbsp;<a href='index.php3' class='update'>Home</a><br> &nbsp;<a href='statistieken.php3' class='update'>Statistieken</a><br> </td></tr> <tr><td width='169' background='kopje.gif' height='14' class='update'>[img]'hokje.gif'>[/img]Cijfers</b></td></tr> <tr><td width='169' class='update'> &nbsp;<a href='bekijk.php3' class='update'>Bekijken</a><br> &nbsp;<a href='voegtoe.php3' class='update'>Toevoegen</a><br> &nbsp;<a href='verwijderen.php3' class='update'>Verwijderen</a><br> &nbsp;<a href='wijzig.php3' class='update'>Wijzigen</a><br> </table> </td><td width='10'></td><td width='550' valign='top'> <?php $mysql = mysql_query("SELECT * FROM cijfers ORDER BY id DESC"); while ($regel = mysql_fetch_array($mysql)) { $id = $regel["id"]; $vak = $regel["vak"]; $cijfer = $regel["cijfer"]; $wat = $regel["wat"]; $datum = $regel["datum"]; PRINT"<b>| $id: </b><b>| $vak: </b><b>| $cijfer: </b><b>| $wat: </b><b>| $datum: </b><br>"; ?> </body> </html> ?> |
maar ik krijg een parse error op lijn 51 ... terwijl ik maar 50 lijnen heb ...