Hi,

In this line:
$query = “SELECT * FROM rjybound”;

Add a ';' to it like this.

$query = “SELECT * FROM rjybound*;*”;

Guess it should work.

Ricky

On Wed, Mar 3, 2010 at 12:31 PM, Ravi <ravivundava...@yahoo.com> wrote:

> Hi,
> even when $dbhandle is changed to $db_handle
> gives error
> Parse error: syntax error, unexpected '=' in
> C:\OSGeo4W\apache\htdocs\lu.php on line 2
>
> Is using Vista Home is an issue
>
> Ravi Kumar
>
> --- On Wed, 3/3/10, Robert Hollingsworth <r...@prodigy.net> wrote:
>
> > From: Robert Hollingsworth <r...@prodigy.net>
> > Subject: Re: [OSGeo-Discuss] Db connect
> > To: "OSGeo Discussions" <discuss@lists.osgeo.org>
> > Date: Wednesday, 3 March, 2010, 12:51 PM
> > is the
> > missing '_' in $dbhandle below significant?
> > REH
> >
> >
> > Hi,
> > am trying to learn rendering maps using
> > browser(shapefiles)
> >
> > no error is given from the browser, but it just displays
> >
> > $db_handle =
> > pg_connect(”host = localhost port = 5432 dbname = postgis
> > user = postgres password = GrassJump”); $query = “SELECT
> > * FROM rjybound”; $result = pgexec($dbhandle,
> > $query);
> >
> >
> >
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > Discuss mailing list
> > Discuss@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/discuss
> >
>
>
>      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW!
> http://downloads.yahoo.com/in/internetexplorer/
>
> _______________________________________________
> Discuss mailing list
> Discuss@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>
_______________________________________________
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss

Reply via email to