note 11280 deleted from function.strpos by jimw
| From: | jimw@php.net | Date: | Thu, 18 Oct 2001 21:26:20 +0000 |
| Subject: | note 11280 deleted from function.strpos by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19131@lists.php.net to get a copy of this message | ||
Fortunately php.net exists else strpos would have got me killed.
I used
if (strpos($haystack,$needle)!==false) //means found, notice !==
Below will not work
if (strpos($haystack,$needle)!=false) //