Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unknown reason for error

Status
Not open for further replies.

benrob82

Programmer
Jul 28, 2005
116
GB
Hi I'm getting the following error from a PHP page which updates MySQL database

Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mailto:student@codeworksconnect.net">student@codeworksconnect.net " where id' at line 1

I'm passing the values from tiny mce editor and it only seems to be when HTML is passed to the database it fails.

Any ideas would really help!!
 
Without your code, i'ts going to be hard to come up with anything.

I suggest you:

1. Echo the query that is giving you the problem. And then try to run it in your db gui.

2. post the piece of code that builds the query.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top