Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Will nested IF statements work?
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #11
RE: Will nested IF statements work?
Without inputs?

What about:

PHP Code:
<if !$mybb->input['action'] && ($mybb->input['fid'] == '' || $mybb->input['fid'] == 1) then>
//here
</if>


Or:

PHP Code:
<if !$mybb->input['action'] then>
//here
</if>


Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 06-27-2012 02:02 PM by Sama34.)
06-27-2012 02:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
brad-t Offline
Member
***
Posts: 120
Joined: Apr 2011
Post: #12
RE: Will nested IF statements work?
First one works! Thank you!
06-27-2012 10:54 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: