Mercurial > hg > ywww
diff php/read/map/getMapRecommPaths.php @ 15:385ddd7c4b55 testing
use test_db.php to get mysqld_test instance
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Sun, 19 Feb 2017 16:17:53 +0000 |
parents | 077b0a0a3e6d |
children |
line wrap: on
line diff
--- a/php/read/map/getMapRecommPaths.php Sun Feb 19 16:17:25 2017 +0000 +++ b/php/read/map/getMapRecommPaths.php Sun Feb 19 16:17:53 2017 +0000 @@ -25,7 +25,7 @@ $listName = "MyMap"; //default map } -include "../../../../private/db.php"; +include "../../../../../private/db_test.php"; //need to have an if statement to catch the first time it is run and call - CALL b_setMapAuthorXYcoord //Can swicth to this call if the map is having problems @@ -45,12 +45,12 @@ { //populate the data mysqli_close($link); - include "../../../../private/db.php"; + include "../../../../../private/db_test.php"; $query1 = "CALL b_setupUserMap($UserID, $loc,\"$listName\")"; $results1 = mysqli_query($link, $query1) or exit( mysqli_error( $link )); mysqli_close($link); - include "../../../../private/db.php"; + include "../../../../../private/db_test.php"; // $query = "CALL b_getMap_relatedBooksNPath($UserID, $loc,\"$listName\")"; $query = "CALL b_getMap_topRelatedBNP($UserID, $loc,\"$listName\")";