comparison php/read/map/getMapRecommendations.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
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 "db.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