![]() |
Is there a way to do this?
Can you have multiple conditions for an if statment? The below ignores both.
Code:
if ($action=="selectuser, attack") { |
Use "logical" conditions.
The '&&' = AND The '||' = OR ... so in your case : PHP Code:
|
Thank You
|
if you have a lot of those conditions this would look better:
PHP Code:
|
in_array :)
|
thx filburt...
i should type a bit slower next time ;) |
Nice tips, Xenon. :)
|
thx
it's just an aesthetic tip, but also for modifyinbg and adding new values it's usefull. i've decided to use this function more often in all my future hacks |
All times are GMT. The time now is 10:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|