Hi ,

The following code works very well with the mapserver php when i try :

http://localhost/charts/index.php it works very well , also with wamp !!



but with mapguide when i try :

http://localhost:8008/mapguide/charts/index.php



index.php contain :

<?
$con = pg_connect("host=localhost port=5432 dbname=Farouk user=postgres
password=webmapping");

$result = pg_query($con, 'select * from chart');

 while ($row = pg_fetch_array($result)) {

     echo "id: " . $row[2] . "<br />";

     echo "Coverage_rate: " . $row[1] . "<br />";

     echo "operator: " . $row[0] . "<br />";
 }

 // free memory
 pg_free_result($result);

 // close connection
 pg_close();

?>

dosen't work any more !! can you help me pleaaaaaaaase
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to