View Single Post
Old 03-10-2009, 10:16 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,100
Quote:
Originally Posted by teh ghey View Post
didnt work
I did:
<!-- if ($loggedin_can_upgrade_account == 1) && ($session.group_id == 2) -->
<li>{anchor:url1="upgrade/",url2="index.php?m=account_upgrade",name="Upgrade "}</li>
<!-- ENDIF -->


I got this error: Parse error: syntax error, unexpected '}'
Code:
<li>
<? php
if ($loggedin_can_upgrade_account == 1) && ($session.group_id == 2)
{
    echo  'anchor:url1="upgrade/",url2="index.php?m=account_upgrade",name="Upgrade"';
}
?>
</li>
__________________
All cookies cleared!

Last edited by sarettah; 03-10-2009 at 10:17 PM..
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote