Jump to content
Larry Ullman's Book Forums

jwmag

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jwmag

  • Rank
    Newbie
  1. In my original post, I said I was using an exact copy of the code in the book, but I just realized this was not true! The code in the book is 100% correct, as expected. My apologies to the author.
  2. That was it. You know, I didn't even think of looking at the php manual.... Thanks for the fix and tip, margaux!
  3. This error keeps occuring: Warning: mysql_fetch_array() expects parameter 2 to be long, resource given in /home/content/83/9391183/html/delete_quote.php on line 25. A portion of the code (from chapter 13): if ( isset($_GET['id']) && is_numeric($_GET['id']) && ($_GET['id'] > 0 ) ) { $query = "SELECT quote, source, favorite FROM quotes WHERE quote_id={$_GET['id']} LIMIT 1"; if ( $r = mysql_query($query, $dbc) ) { $row = mysql_fetch_array($r, $dbc); <<<<<<<<<<< LINE 25 I don't know what else to add th
×
×
  • Create New...