MySQL Forums
Forum List  »  PHP

Re: Syntax Error - Syntax for 'LIMIT 1'
Posted by: VR Comrie
Date: July 04, 2012 11:49PM

OMG thank you guys the

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

worked great--maybe Doug was taking the same tutorial as me from Lynda.com, which is called PHP with MySQL Essential Training--I did everything it said and it threw the same errors and the above code fixed it.

I am pretty disappointed that I am paying for a service that can't even keep an up-to-date basic tutorial....

You guys that helped absolutely ROCK!

Cheers,

Vickie

Options: ReplyQuote


Subject
Written By
Posted
Re: Syntax Error - Syntax for 'LIMIT 1'
July 04, 2012 11:49PM


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.