Mercurial > hg > ywww
comparison xml/getAmazonInfo.php @ 48:da133c130c1d
include path normalise
author | Charlie Root |
---|---|
date | Sun, 06 Jan 2019 12:46:24 -0500 |
parents | b7376319d25a |
children | a67bf725e87b |
comparison
equal
deleted
inserted
replaced
47:2a3943ced610 | 48:da133c130c1d |
---|---|
273 if($salesRank == "") | 273 if($salesRank == "") |
274 $salesRank = "null"; | 274 $salesRank = "null"; |
275 | 275 |
276 if($title != "") | 276 if($title != "") |
277 { | 277 { |
278 include "../../private/db.php"; | 278 include "private/db.php"; |
279 if ($publisher->count()==0) { | 279 if ($publisher->count()==0) { |
280 $publisher="null"; | 280 $publisher="null"; |
281 } | 281 } |
282 else { | 282 else { |
283 $publisher=mysqli_real_escape_string($link,$publisher); | 283 $publisher=mysqli_real_escape_string($link,$publisher); |
328 $searchparameterdata, | 328 $searchparameterdata, |
329 $show_array,$show_url,$show_xml) | 329 $show_array,$show_url,$show_xml) |
330 { | 330 { |
331 global $output; | 331 global $output; |
332 //look up info from db | 332 //look up info from db |
333 include "../../private/db.php"; | 333 include "private/db.php"; |
334 $query = "CALL b_getBookInfo('$searchparameterdata', $loc)"; | 334 $query = "CALL b_getBookInfo('$searchparameterdata', $loc)"; |
335 //echo $query; | 335 //echo $query; |
336 $res = my_query($query,'gai3'); | 336 $res = my_query($query,'gai3'); |
337 | 337 |
338 $output = ""; | 338 $output = ""; |