Mercurial > hg > ywww
comparison php/read/map/getMapISBNCirclePaths.php @ 49:a67bf725e87b
put both paths in include_path and depend on that
| author | Charlie Root |
|---|---|
| date | Wed, 16 Jan 2019 13:42:15 -0500 |
| parents | 077b0a0a3e6d |
| children |
comparison
equal
deleted
inserted
replaced
| 48:da133c130c1d | 49:a67bf725e87b |
|---|---|
| 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 "db.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 "db.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 |
