Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 if this AND this (how to?)
Niki Offline
Junior Member
**
Posts: 29
Joined: Oct 2016
Post: #1
if this AND this (how to?)
Hey hey,

Awesome plugin, has made my life so much better since discovering it.

I'm pushing my limits here and not sure if this is possible with this plugin but basically what I'm trying to do is say, if inbetween this and this display this.

I tried this but the page went blank.

PHP Code:
<if $userfields['fid43'] >= 26 AND <=50 then><div class="border board"><div class="health-bar-decent" style="width: {$userfields['fid43']}%; text-align: center;">{$userfields['fid43']}%</div></div></if>


In order to show the health-bar-decent color the input number for this userfield needs to be equal to or greater than 26 AND equal to or less than 50.

I'm stumped. Help is appreciated,
thanks!

02-22-2018 08:24 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
if this AND this (how to?) - Niki - 02-22-2018 08:24 AM
RE: if this AND this (how to?) - Sama34 - 02-22-2018, 01:45 PM
RE: if this AND this (how to?) - Niki - 03-09-2018, 09:04 AM

 Standard Tools
Forum Jump: