Hi,<br><br>In this line: <br>$query = “SELECT * FROM rjybound”;<br><br>Add a ';' to it like this.<br><br>$query = “SELECT * FROM rjybound<font size="4"><b><span style="color: rgb(255, 0, 0);">;</span></b></font>”;<br>
<br>Guess it should work.<br><br>Ricky<br><br><div class="gmail_quote">On Wed, Mar 3, 2010 at 12:31 PM, Ravi <span dir="ltr"><<a href="mailto:ravivundavalli@yahoo.com">ravivundavalli@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
even when $dbhandle is changed to $db_handle<br>
gives error<br>
Parse error: syntax error, unexpected '=' in C:\OSGeo4W\apache\htdocs\lu.php on line 2<br>
<br>
Is using Vista Home is an issue<br>
<br>
Ravi Kumar<br>
<br>
--- On Wed, 3/3/10, Robert Hollingsworth <<a href="mailto:reh2@prodigy.net">reh2@prodigy.net</a>> wrote:<br>
<br>
> From: Robert Hollingsworth <<a href="mailto:reh2@prodigy.net">reh2@prodigy.net</a>><br>
<div class="im">> Subject: Re: [OSGeo-Discuss] Db connect<br>
> To: "OSGeo Discussions" <<a href="mailto:discuss@lists.osgeo.org">discuss@lists.osgeo.org</a>><br>
</div>> Date: Wednesday, 3 March, 2010, 12:51 PM<br>
<div><div></div><div class="h5">> is the<br>
> missing '_' in $dbhandle below significant?<br>
> REH<br>
><br>
><br>
> Hi,<br>
> am trying to learn rendering maps using<br>
> browser(shapefiles)<br>
><br>
> no error is given from the browser, but it just displays<br>
><br>
> $db_handle =<br>
> pg_connect(”host = localhost port = 5432 dbname = postgis<br>
> user = postgres password = GrassJump”); $query = “SELECT<br>
> * FROM rjybound”; $result = pgexec($dbhandle,<br>
> $query);<br>
><br>
><br>
><br>
</div></div>> -----Inline Attachment Follows-----<br>
<div><div></div><div class="h5">><br>
> _______________________________________________<br>
> Discuss mailing list<br>
> <a href="mailto:Discuss@lists.osgeo.org">Discuss@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/discuss" target="_blank">http://lists.osgeo.org/mailman/listinfo/discuss</a><br>
><br>
<br>
<br>
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! <a href="http://downloads.yahoo.com/in/internetexplorer/" target="_blank">http://downloads.yahoo.com/in/internetexplorer/</a><br>
<br>
_______________________________________________<br>
Discuss mailing list<br>
<a href="mailto:Discuss@lists.osgeo.org">Discuss@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/discuss" target="_blank">http://lists.osgeo.org/mailman/listinfo/discuss</a><br>
</div></div></blockquote></div><br>