DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php delete json object from a collection object
$id = 1; foreach ($array as $key => $arr) { if($arr->id == $id) { unset($array[$key]); } }
PREVIOUS
NEXT
Tagged:
#php
#delete
#json
#object
#collection
#object
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit