Code:
$sql = "
INSERT INTO book
     ( id
     , account_no
     , admin_id
     , title
     , author
     , edition
     , book_publisher
     , book_copies
     , book_isbn
     , print_place
     , book_year
     , book_pages
     , book_price
     , entry_date
     ) VALUES 
     ( ''
     , '$account_id'
     , '$admin_id'
     , '$title'
     , '$author'
     , '$edition'
     , '$publisher'
     , '$copies'
     , '$isbn'
     , '$place'
     , '$year'
     , '$pages'
     , '$price'
     , '$date'
)
";
While inserting data using this query I am getting this error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Perspective','Randal E. Bryant','2','Prentice Hall','2','978-0136108047','USA'' at line 3
can anyone tell how to resolve this error?
 
     
     
     
    