Mercurial > hg > ywww
comparison goodreads/callback.php @ 49:a67bf725e87b
put both paths in include_path and depend on that
| author | Charlie Root |
|---|---|
| date | Wed, 16 Jan 2019 13:42:15 -0500 |
| parents | 077b0a0a3e6d |
| children |
comparison
equal
deleted
inserted
replaced
| 48:da133c130c1d | 49:a67bf725e87b |
|---|---|
| 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 "db.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 |
