![]() |
Re: If statement help - wholesale
Thank you Jon. You're the first person to give me a helpful answer (besides balinor). I really appreciate that.
Also just to verify for anyone else on 4.1.7... The above coding works entirely. Thanks again Jon |
Re: If statement help - wholesale
If you still want to use the name of the membership instead of the id use this code:
Code:
$userinfo = func_query_first("SELECT A.login,A.firstname,A.lastname,B.membership FROM $sql_tbl[customers] A, $sql_tbl[memberships] B WHERE A.login='$login' and A.membershipid = B.membershipid"); and this in your .tpl file: Code:
{if $userinfo.membership eq "Gold Member"} |
All times are GMT -8. The time now is 08:06 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.