Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array Condition on MyBB Forums (PHP Enabled)
#4
Well as far as I understand the plugin, you would do something like this...
But note that I can't test it and I'm not sure...
You will get better answers from the creator of the plugin....

PHP Code:
# you would first need to declare a variable
$condition in_array($GLOBALS[forumid],array(2));
<if 
$condition then>
2
<else />0
</if> 
Reply


Messages In This Thread
RE: Array Condition on MyBB Forums (PHP Enabled) - by Gaijin - 02-05-2010, 09:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 936 07-27-2020, 11:26 PM
Last Post: tk-hassan
  What is array and the the use of it?can someone explain to me? Advertise4you 2 1,086 10-30-2011, 02:13 PM
Last Post: ★Cooldude★
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,660 10-10-2011, 01:00 PM
Last Post: Greyersting
  Put the data from a MySQL column in an array RPicard 3 1,084 06-01-2010, 01:51 PM
Last Post: RPicard
  $_POST array is empty RPicard 3 1,446 05-31-2010, 03:35 PM
Last Post: RPicard

Forum Jump:


Users browsing this thread: 2 Guest(s)