Mercurial > hg > ywww
comparison php/read/map/getMapISBNCirclePaths.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 |
comparison
equal
deleted
inserted
replaced
| 14:1477b5e6dd16 | 15:385ddd7c4b55 |
|---|---|
| 24 } | 24 } |
| 25 else{ | 25 else{ |
| 26 $listName = "MyMap"; //default location is 1 | 26 $listName = "MyMap"; //default location is 1 |
| 27 } | 27 } |
| 28 | 28 |
| 29 include "../../../../private/db.php"; | 29 include "../../../../../private/db_test.php"; |
| 30 $query = "CALL b_getMapUserList('$UserID',$loc, \"$listName\")"; // this generates fixed points - | 30 $query = "CALL b_getMapUserList('$UserID',$loc, \"$listName\")"; // this generates fixed points - |
| 31 //echo $query; | 31 //echo $query; |
| 32 $results = mysqli_query($link, $query) or exit( mysqli_error( $link )); | 32 $results = mysqli_query($link, $query) or exit( mysqli_error( $link )); |
| 33 | 33 |
| 34 $output = "<?xml version=\"1.0\"?>"; | 34 $output = "<?xml version=\"1.0\"?>"; |
| 69 $output .= "</SNode>"; | 69 $output .= "</SNode>"; |
| 70 | 70 |
| 71 //$output .= "</BookList>"; | 71 //$output .= "</BookList>"; |
| 72 | 72 |
| 73 mysqli_close($link); | 73 mysqli_close($link); |
| 74 include "../../../../private/db.php"; | 74 include "../../../../../private/db_test.php"; |
| 75 | 75 |
| 76 $query = "CALL b_getMap_isbnPaths('$UserID', $loc, \"$listName\")"; // this generates fixed points - | 76 $query = "CALL b_getMap_isbnPaths('$UserID', $loc, \"$listName\")"; // this generates fixed points - |
| 77 //echo $query; | 77 //echo $query; |
| 78 $results = mysqli_query($link, $query) or exit( mysqli_error( $link )); | 78 $results = mysqli_query($link, $query) or exit( mysqli_error( $link )); |
| 79 | 79 |
