Mercurial > hg > ywww
comparison goodreads/bkp/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 |
---|---|
28 $grID = $xml->user->attributes()->id; | 28 $grID = $xml->user->attributes()->id; |
29 //echo $grID; | 29 //echo $grID; |
30 $userID = $_SESSION['UserID']; | 30 $userID = $_SESSION['UserID']; |
31 //echo $userID; | 31 //echo $userID; |
32 | 32 |
33 include "../../private/db.php"; | 33 include "../../../private/db_test.php"; |
34 $add = "CALL addGoodreadsID($userID,$grID)"; | 34 $add = "CALL addGoodreadsID($userID,$grID)"; |
35 $run = mysqli_query($link, $add); | 35 $run = mysqli_query($link, $add); |
36 | 36 |
37 unset ($obj); | 37 unset ($obj); |
38 Header( "Location: ../goodreads/syncGoodreadsShelves.php?userID=$userID&grID=$grID" ); | 38 Header( "Location: ../goodreads/syncGoodreadsShelves.php?userID=$userID&grID=$grID" ); |