[OSGeo-Discuss] Db connect

Ravi ravivundavalli at yahoo.com
Wed Mar 3 04:31:12 PST 2010


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 <reh2 at prodigy.net> wrote:

> From: Robert Hollingsworth <reh2 at prodigy.net>
> Subject: Re: [OSGeo-Discuss] Db connect
> To: "OSGeo Discussions" <discuss at 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 at 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/




More information about the Discuss mailing list