if ( index( $fl, '1' ) != -1 ) { $flag = 1 ; } else { $flag = 0 ; }
Those who know that they are profound strive for clarity. Those who
would like to seem profound to the crowd strive for obscurity.
--Friedrich Nietzsche
In reply to Re: Correct Syntax
by DamnDirtyApe
in thread Need help getting correct syntax for "if" statement
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |