Jump to content
Larry Ullman's Book Forums

indy

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by indy

  1. I am stuck on chapter 13. I downloaded the code and set it up per the book's instructions. I did not change anything except for the mysql login info.

     

    On the index page I get the following error. I even added data to the table from mysql prompt and I can also run the query from mysql prompt and it returns value.

     

    Could not retrieve the data because:

    .

    The query being run was: SELECT quote_id, quote, source, favorite FROM quotes ORDER BY date_entered DESC LIMIT 1

    If I try to add a quote, I get this error:

    Could not store the quote because:

    .

    The query being run was: INSERT INTO quotes (quote, source, favorite) VALUES ('', '', 0)

×
×
  • Create New...