You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: addBooks.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@
71
71
include('config.php');
72
72
if(isset($_GET['book_id'])){
73
73
$book_id=$_GET['book_id'];
74
-
$query1 = "select * from book RIGHT JOIN book_authors ON book.book_id = book_authors.book_id WHERE book.book_id=$book_id";
74
+
$query1 = "select * from book RIGHT JOIN book_authors ON book.book_id = book_authors.book_id RIGHT JOIN book_copies ON book.book_id = book_copies.book_id WHERE book.book_id=$book_id";
0 commit comments