RE: strpos error (I'm missing something obvious)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
I fixed this by changing === TRUE to !== FALSE, so I think I am good  
to go now. But would still like to know why TRUE doesn't work. Thanks.
[/snip]

!== FALSE is not good either, it is not a valid test

strpos returns the numeric position of the first occurrence of needle in
the haystack string. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux