note 77970 deleted from function.array-search by danbrown
| From: | danbrown@php.net | Date: | Wed, 29 Apr 2009 12:57:40 +0000 |
| Subject: | note 77970 deleted from function.array-search by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-153975@lists.php.net to get a copy of this message | ||
Note Submitter: zwijntje82 at hotmail dot com
----
use 3x === if you want to kill doubles in an array.
others will not work
if(array_search($twee[0],$y)===false){
echo $twee[0].array_search($twee[0],$y).'<br>';
}