Enter your keyword

Blog

How to Search in Array

$array = array(0 => 'blue', 1 => 'red', 2 => 'green', 3 => 'red');
$key = array_search('green', $array); 

No Comments

Add your review

Your email address will not be published.

* Feilds are Required.