How do i convert this? |
How do i get this working i receive this error
Quote:Cannot use object of type stdClass as arraywith the below snippet the issue seems to be with the foreach. Code: $result = $zgrid->query("SELECT * FROM parcels WHERE $category " .
Try "parcel_id"=> $row->infouuid (ie reference it as an object, not an array.
I'm just guessing here.
this returns an object
PHP Code: $result->result() this returns an array PHP Code: $result->result_array() http://www.codeigniter.com/user_guide/da...sults.html |
Welcome Guest, Not a member yet? Register Sign In |