diff --git a/itemrecord.php b/itemrecord.php index 6d55958..7b542ba 100644 --- a/itemrecord.php +++ b/itemrecord.php @@ -130,6 +130,24 @@ while ($row = $series->fetchArray()) { $row_seriesindex = $row['seriesindex']; } +// ---------- Pull publisher location information ---------- + +$publisher_location = $db->query("SELECT custom_column_2.value AS publoc +FROM books +INNER JOIN +books_custom_column_2_link +ON books_custom_column_2_link.book = books.id +INNER JOIN +custom_column_2 ON + custom_column_2.id = books_custom_column_2_link.value +WHERE +books.id = '$ItemID'"); + +while ($row = $publisher_location->fetchArray()) { + $row_publocation = $row['publoc']; +} + + @@ -238,9 +256,9 @@ while ($row = $series->fetchArray()) {