Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

search string inside array of objects php

$item = null;
foreach($array as $struct) {
    if ($v == $struct->ID) {
        $item = $struct;
        break;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #search #string #array #objects #php
ADD COMMENT
Topic
Name
1+7 =