<div>Hi all, Iam trying to use getshape() using php mapscript but getting a fata error like this&nbsp;&nbsp;&quot;Call to a member function on a non-object in.... &quot;</div>
<div><font size="2">&nbsp;</font></div>
<div>
<p>$oresult = $rid-&gt;getResult(0);</p>
<p>$orid-&gt;open(&quot;&quot;);</p>
<p>$Shape = $orid-&gt;getShape($result-&gt;titleindex,$result-&gt;shapeindex);</p>
<p>$Extents = $Shape-&gt;bounds; </p>
<p>$Shape-&gt;free(&quot;&quot;);</p>
<p>$orid=close(&quot;&quot;);</p>
<p>&nbsp;</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>