View Single Post
  #11  
Old 05-08-2007, 09:13 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: If statement help - wholesale

Sorry, like I said, probably too many customizations

Put this in your auth.php:

Code:
$userinfo = func_query_first("SELECT login,firstname,lastname,membership FROM $sql_tbl['customers'] WHERE login='$login'"); $smarty->assign("userinfo", $userinfo);

Then output to your template:

ID: {$userinfo.membership}

Let me know what is output.
Reply With Quote