Hello There!
Well I’m using a VB hack so useres can login offsite.
Code:
[php] <?php
If ($vbulletin->userinfo[‘userid’]!=0)
{
echo "
<table width="181" border="0" cellspacing="0" cellpadding="0" id="table28">
<tr>
<td width="15"><img src="http://www.battlestationextreme.com/images/spacer.gif" alt="" width="15" height="40"></td>
<td width="166" class="text2">
My BSE</td>
</tr>
</table></td>
</tr>
<tr>
<td style="background-image:url('http://www.battlestationextreme.com/images/homepage10.jpg'); height:29px">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="table29">
<tr>
<td width="8%"><img src="http://www.battlestationextreme.com/images/spacer.gif" alt="" width="15" height="29"></td>
<td width="92%">
<a class="link1" href="http://www.battlestationextreme.com/forums/usercp.php">
Register!</a></td>
</tr>
</table></td>
</tr>
<tr>
<td style="background-image:url('http://www.battlestationextreme.com/images/homepage10.jpg'); height:29px">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="table30">
<tr>
<td width="8%"><img src="http://www.battlestationextreme.com/images/spacer.gif" alt="" width="15" height="29"></td>
<td width="92%">
<a class="link1" href="http://www.battlestationextreme.com/forums/private.php">
Login</a></td>
</tr>
</table></td>";
} else {
echo "Your not logged in so we display this";
}
?>[/php]
Error:
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home/------/public_html/homepage.php on line 1016
And line 1016 is:
[php]
echo “Your not logged in so we display this”;[/php]
I can’t see whats wrong there.
If some one could help me out this would be great.
Cheers,
Carl
ADMIN EDIT: Altered [CODE] tags to [PHP] Tags for readability