Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Hide warning if % is 0
Gstone Offline
Member
***
Posts: 55
Joined: May 2012
Post: #1
Hide warning if % is 0
Hello again,

i'm have about 0 knowledge when it comes to php/if statements, but I thought this might be an easy one for those that know a lot:

if a member has 0% warning level (as shown in postbit), how would i go about hiding it? something like "if user warn level = 0, then hide" otherwise, it would show up.

this is what is in the postbit, and I figure I have to wrap the if statement around it:

{$post['warninglevel']}
09-04-2012 08:19 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Hide warning if % is 0 - Gstone - 09-04-2012 08:19 AM
RE: Hide warning if % is 0 - Sama34 - 09-04-2012, 10:24 AM
RE: Hide warning if % is 0 - Gstone - 09-04-2012, 10:40 AM
RE: Hide warning if % is 0 - Jerremy - 09-10-2012, 09:30 AM
RE: Hide warning if % is 0 - ZiNgA BuRgA - 09-10-2012, 10:37 AM

 Standard Tools
Forum Jump: