Parse error: syntax error, unexpected $end in C:\wamp\www\aaa\userlist.php on line 69
Ale policzyłem wszystkie znaki { } i ich liczba jest parzysta, więc gdzie jest błąd ?
userlist.php
<?php require_once 'conn.php'; require_once 'http.php'; ?> <html> <head> <title>Baza danych filmów</title> <style type="text/css"> TD{color:#353535;font-family:verdana} TH{color:#FFFFFF;font-family:verdana;background-color:#336699} </style> </head> <body> <br> <br> <table border="0" width="390" cellspacing="1" cellpadding="3" bgcolor="#353535" align="center"> <tr> <td bgcolor="#ffffff" width="10%" align="left"><b><center>Login</td> <td bgcolor="#FFFFFF" width="35%" align="left"><b><center>Imie</td> <td bgcolor="#FFFFFF" width="5%" align="left"><b><center>Ranga</td> <td bgcolor="#FFFFFF" width="40%" align="left"><b><center>Opcje</b></td> </tr> <?php $sql= "SELECT * FROM cms_users cms_access_levels ORDER BY access_lvl"; ?> <tr> <td bgcolor="#FFFFFF" width="15%"> </td> <td bgcolor="#FFFFFF" width="35%"> </td> <td bgcolor="#ffffff" width="5%"> <td bgcolor="#FFFFFF" width="25%" align="right"> <a href="useraccount.php?userid=<?php <a href="transact-user.php?action=delete&userid=<?php </td> </tr> <?php } ?> </table> <? } else { redirect('index.php');} } ?> <?php ?> </table> </body> </html>
conn.php
<?php ?>
http.php
<?php function redirect($url) { } else { } } ?>