convert object to array
- by zahir hussain
<?php
print_r($response->response->docs);
?>
display the following
Array ( [0] => Object ( [_fields:private] => Array ( [id]=>9093 [name]=>zahir) Object ( [_fields:private] => Array ( [id]=>9094 [name]=>hussain)..)
how to change the object to array...
i want the following
Array([0]=>([id]=>9093 [name]=>zahir) [1]=>([id]=>9094 [name]=>hussain)...)
can i do?
no one can answer....