<div>Hi all, Iam trying to use getshape() using php mapscript but getting a fata error like this  "Call to a member function on a non-object in.... "</div>
<div><font size="2"> </font></div>
<div>
<p>$oresult = $rid->getResult(0);</p>
<p>$orid->open("");</p>
<p>$Shape = $orid->getShape($result->titleindex,$result->shapeindex);</p>
<p>$Extents = $Shape->bounds; </p>
<p>$Shape->free("");</p>
<p>$orid=close("");</p>
<p> </p>
<p>can some one help me with this. Or can some one sujest a way to get shape info from the results so that i can display it?</p>
<p>Thanks</p></div>