comparison goodreads/addToGRShelf.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
4 $userID=$_GET['userID']; 4 $userID=$_GET['userID'];
5 $listName=urldecode($_GET['listName']); 5 $listName=urldecode($_GET['listName']);
6 //echo $userID; 6 //echo $userID;
7 //echo $listName; 7 //echo $listName;
8 8
9 include "../../private/db.php"; 9 include "../../../private/db_test.php";
10 $ynrList = "CALL b_getUserSavedList($userID,\"$listName\")"; 10 $ynrList = "CALL b_getUserSavedList($userID,\"$listName\")";
11 //echo $ynrList; 11 //echo $ynrList;
12 //echo $add; 12 //echo $add;
13 $results = mysqli_query($link, $ynrList) or exit( mysqli_error( $link )); 13 $results = mysqli_query($link, $ynrList) or exit( mysqli_error( $link ));
14 14