DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+1 =
Submit