I\'m bulding a search function for my web site and wish to search by two columns: title and author.
Query:
SELECT title, bookID, publisher, pubDate, boo
SELECT title, bookID, publisher, pubDate, book_image, books.authorID, authors.author FROM books, authors WHERE books.authorID = authors.authorID AND (title LIKE '$queryString%' OR author LIKE '$queryString%')LIMIT 5
this should do the work