comparison goodreads/callback.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
29 //echo $grID; 29 //echo $grID;
30 30
31 $userID = $_SESSION['UserID']; 31 $userID = $_SESSION['UserID'];
32 $backLoc = "http://www.yournextread.com/" . urldecode($_SESSION['backLocation']); 32 $backLoc = "http://www.yournextread.com/" . urldecode($_SESSION['backLocation']);
33 33
34 include "../../private/db.php"; 34 include "../../../private/db_test.php";
35 $add = "CALL addGoodreadsID($userID,$grID)"; 35 $add = "CALL addGoodreadsID($userID,$grID)";
36 //echo $add; 36 //echo $add;
37 $run = mysqli_query($link, $add); //add the book to the list in usersave 37 $run = mysqli_query($link, $add); //add the book to the list in usersave
38 38
39 39