View Single Post
Old March 3rd, 2007, 10:34 PM   #2 (permalink)
Norman
Newbie
 
Location: [Italy]
Posts: 3 -- Threads: 1
Total ZCredit: 0
Rep Power: 8Norman is an unknown quantity at this point
Default Re: [How-To]Use conditionals in vBulletin

If can I ask..
Wich is the best way..

Code:
if ($vbulletin->options['optionname'] == '1') { code 1 } elseif ($vbulletin->options['optionname'] == '2') { code 2 }


Or..


Code:
if ($vbulletin->options['optionname'] == '1') { code 1 } if ($vbulletin->options['optionname'] == '2') { code 2 }

?

It's the same?
Norman is offline   Reply With Quote