MySQL Forums
Forum List  »  PHP

Re: You have an error in your SQL syntax; check the manual that corresponds to ypur My SQL CATID='1" at line 1
Posted by: Rick James
Date: October 05, 2015 09:00PM

1. Escape things that come from the user, else a hacker can easily get into your system and do naughty things.

2. "echo" the offending $query. The output may make it obvious what is wrong. If not, show us the output.

Options: ReplyQuote


Subject
Written By
Posted
Re: You have an error in your SQL syntax; check the manual that corresponds to ypur My SQL CATID='1" at line 1
October 05, 2015 09:00PM


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.