in reply to Need help getting correct syntax for "if" statement
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Correct Syntax
by Juerd (Abbot) on Aug 08, 2002 at 22:47 UTC | |
|
Re: Re: Correct Syntax
by jdawes (Novice) on Aug 08, 2002 at 22:57 UTC | |
by Juerd (Abbot) on Aug 09, 2002 at 08:02 UTC | |
by tadman (Prior) on Aug 09, 2002 at 00:23 UTC |