comparison php/read/getBookDetails.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
105 } 105 }
106 106
107 if($proceed == true) 107 if($proceed == true)
108 { 108 {
109 include "aws_signed_request.php"; 109 include "aws_signed_request.php";
110 include_once "../../xml/doAmazonRequest.php"; 110 include_once "ywww/xml/doAmazonRequest.php";
111 111
112 //book does not exist already so look up all the info from browse nodes.... 112 //book does not exist already so look up all the info from browse nodes....
113 113
114 $Adefault=array( 114 $Adefault=array(
115 'language' =>'en', //what language to render the page in 115 'language' =>'en', //what language to render the page in
260 260
261 if($salesRank == "") 261 if($salesRank == "")
262 $salesRank = "null"; 262 $salesRank = "null";
263 263
264 mysqli_close($link); //do not remove. reset is needed otherwise mysqli_fetch_array doesn't work after first loop 264 mysqli_close($link); //do not remove. reset is needed otherwise mysqli_fetch_array doesn't work after first loop
265 include "../../../private/db.php"; 265 include "private/db.php";
266 266
267 $title = strtr($title, '"', "'"); 267 $title = strtr($title, '"', "'");
268 $queryInsert = "CALL b_addNewBook(\"$isbn\",\"$title\", \"$author\",\"$binding\",\"$imageURL\", $dewey, $salesRank,$pubDate,\"$publisher\",$g1,$g2,$g3,$loc)"; 268 $queryInsert = "CALL b_addNewBook(\"$isbn\",\"$title\", \"$author\",\"$binding\",\"$imageURL\", $dewey, $salesRank,$pubDate,\"$publisher\",$g1,$g2,$g3,$loc)";
269 //echo $queryInsert; 269 //echo $queryInsert;
270 270