Fatal Error accessing stdClass as array problem

Ben Crane crane_ba at YAHOO.COM
Mon Sep 11 01:01:23 PDT 2006


Hi,

I have been using OGR_L_GetExtents to access MBR data
about a layer. I have been advised about accessing
this "array" by using normal array notation:
$minx=$ext_array['minx'] - but this only produces the
following error:

Fatal Error: Cannot use object of type stdClass as
array in c:\...

Can anyone advise me on what I need to do to get these
values of of this class?

Ben

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the MapServer-users mailing list