The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
can someone explain to me how to use these? can they used to check if a value is false or true and if true display something?
|
|
#2
|
||||
|
||||
|
Syntax:
PHP Code:
For example: Code:
if ($bbuserinfo['username'] == 'some_dude')
{
echo "Hey some_dude!";
}
|
|
#3
|
||||
|
||||
|
no, i mean iif statements that vb uses in vb3 coding but thanks for the help
|
|
#4
|
|||
|
|||
|
Quote:
PHP Code:
PHP Code:
PHP Code:
|
|
#5
|
||||
|
||||
|
so you have a true and false value after $blah==whatever?
|
|
#6
|
||||
|
||||
|
Quote:
PHP Code:
PHP Code:
PHP Code:
|
|
#7
|
||||
|
||||
|
thanks guys
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|