Enter ISBN to get book info

Or enter book info manually...



= 8) { $book_query = info_from_ISBN($_GET[ISBN]); $author_split = explode(' ', $book_query[author]); $book_query[author_first] = $author_split[0]; $book_query[author_last] = $author_split[1]; } } if($book_query[title] == NULL) {$book_query[title] = $_POST[title];} if($book_query[edition] == NULL) {$book_query[edition] = $_POST[edition];} if($book_query[author_first] == NULL) {$book_query[author_first] = $_POST[author_first];} if($book_query[author_last] == NULL) {$book_query[author_last] = $_POST[author_last];} if($book_query[ISBN] == NULL) {$book_query[ISBN] = $_POST[ISBN]; $_GET[ISBN] = $_POST[ISBN];} ?>

Enter Books into database

Title :

Edition :

Author's first name :

Author's last name :

ISBN : Price : $

Added $_POST[title], by $_POST[author_first] $_POST[author_last],
with an ISBN number of $_POST[ISBN].
"; } else { echo '
You did not fill in all the fields!'; if ($_POST[price] == '00.00' || $_POST[price] == NULL) { echo '
(You did not enter a price)

';} else {echo '
';} } } $result = mysql_query("SELECT title, author_first, author_last, ISBN, edition, price, user, book_id FROM books WHERE user='$user_data[user_name]'"); //if ($result[book_id]) //{ echo '
Books you have posted :
'; ?>
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } echo '
'; echo '
Image Title Author's Last Name Author's First Name Edition ISBN User Price
'.''.$books[title].''.$books[author_last].''.$books[author_first].''.$books[edition].''.$books[ISBN].''.$books[user].''.$books[price].'
'; //} include('./includes/footer.php'); ?>