MySQL Forums
Forum List  »  PHP

Re: Syntax Error - Syntax for 'LIMIT 1'
Posted by: Jose Mayorquin
Date: July 23, 2012 06:25PM

I'm following this same tutorial, and I'm ral glad I found this; it may have saved me a couple hours. But; unless I'm mistaken, aren't we looking for the subject id?

Shouldn't the code read:

$query .= "WHERE id='" .mysql_real_escape_string($subject_id) . " ";

Options: ReplyQuote


Subject
Written By
Posted
Re: Syntax Error - Syntax for 'LIMIT 1'
July 23, 2012 06:25PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.