Mercurial > hg > ywww
comparison php/read/map/getMapRecommendations.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 |
---|---|
26 } | 26 } |
27 else{ | 27 else{ |
28 $loc = 1; //default location is 1 | 28 $loc = 1; //default location is 1 |
29 } | 29 } |
30 | 30 |
31 include "../../../../private/db.php"; | 31 include "../../../../../private/db_test.php"; |
32 | 32 |
33 $query = "CALL b_getMap_relatedBooks($user,$loc,\"$listName\")"; | 33 $query = "CALL b_getMap_relatedBooks($user,$loc,\"$listName\")"; |
34 //echo $query; | 34 //echo $query; |
35 $results = mysqli_query($link, $query) or exit( mysqli_error( $link )); | 35 $results = mysqli_query($link, $query) or exit( mysqli_error( $link )); |
36 | 36 |