for example say i have an object array called $list looks like this:
<(stdClass)#16 (3) {
["1"]=>
<(8) "50504496"
["2"]=>
<(8) "12435374"
["3"]=>
<(8) "12436374"
Im doing a foreach on the object array and removing them if they exist in the database i.e
foreach($list as $l){
//do the query
if( it exists){
//remove from objects: this is where i need help!!
}
}
i have the db logic, im just stuck to know how i can remove objects, i was thinking maybe i should create a new object and add them thier. thanks }
unsetphp.net/unset