Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"type":"Point","coordinates":[40.704719543457,-74.0092620849609]}
- {"type":"Point","coordinates":[40.7466468811035,-73.9939117431641]}
- <?php
- $connect = pg_connect("host=127.0.0.1 dbname=d106 user=b16 password=cccC") or die("Could not connect: ");
- $result = pg_query($connect,"SELECT distinct thestartgeom FROM bike");
- if (!$result)
- {
- echo "no results ";
- }
- while($row = pg_fetch_array($result))
- {
- $coor = $row['roads'];
- }
- pg_close($connect);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement