Log in

View Full Version : PHP Problem



Robbie..
04-03-2006, 10:00 AM
<tr> <? if($_SESSION['session_level'] == "1") { ?>
<td bgcolor=\"#2C708F\" height=\"12\" style=\"font-family: Verdana; font-size: 10px\">
<a target=\"main\" style=\"text-decoration: none; color: black; font-weight: normal\" href=\"../../../staff/users_online.php\">
<font color=\"#FFFFFF\">
&nbsp;Kick/Ban Users</font></a></td></tr> <tr>
<td bgcolor=\"#2C708F\" height=\"1\" style=\"font-family: Verdana; font-size: 10px\">
<a target=\"main\" style=\"text-decoration: none; color: black; font-weight: normal\" href=\"../../../staff/unban.php\">
<font color=\"#FFFFFF\"> &nbsp;Unban Users</font></a></td></tr> </table></div> </body>
Thats a chunk of code at the very end of the page.

I get Parse error: parse error, unexpected $ in /home/######/public_html/staff/nav.php on line 265

Can anyone help?

Robbie..
04-03-2006, 10:05 AM
MOD Delete Pls.

Splinter
04-03-2006, 12:21 PM
simple because you need to add:

<?php }
?>
at the end..

Flisker
04-03-2006, 05:00 PM
ok....

Regards,

SNoop

Tomm
04-03-2006, 05:03 PM
ok....

Regards,

SNoop
Thats just pure spam ''/

Cba to check the code but have you added ; at the end of each line?

Edit after looking at the code you havent even ended the PHP Block...

Want to hide these adverts? Register an account for free!