[postgis-users] Db connect
Ravi
ravivundavalli at yahoo.com
Tue Mar 2 23:50:13 PST 2010
Hi Ben,
> If you are just getting that output it makes me wonder does
> your script start with <?php and end with ?>... ie
>
> <?php
>
> $db_handle = pg_connect(”host = localhost port = 5432
> dbname = postgis user = postgres password = GrassJump”);
>
> $query = “SELECT * FROM rjybound”;
>
> $result = pgexec($dbhandle, $query);
>
> ?>
With them in place..
ERROR received
Parse error: syntax error, unexpected '=' in C:\OSGeo4W\apache\htdocs\lu.php on line 2
Ravi Kumar
>
> Ben
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
More information about the postgis-users
mailing list