Mercurial > hg > ywww
comparison goodreads/addToGRShelf.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 |
|---|---|
| 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 "db.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 |
