Re: [Tutor] Cleaning up input before inserting into MySQL.

2006-03-25 Thread Kent Johnson
Adam Cripps wrote: > I have a textarea which collects text and other characters. I'm > attempting to put this into a MySQL database. See code at [1]. > > However, if I use any type of quotes (either single or double) then it > prematurely closes the SQL statement, and I get an errror: > > Program

[Tutor] Cleaning up input before inserting into MySQL.

2006-03-25 Thread Adam Cripps
I have a textarea which collects text and other characters. I'm attempting to put this into a MySQL database. See code at [1]. However, if I use any type of quotes (either single or double) then it prematurely closes the SQL statement, and I get an errror: ProgrammingError: (1064, "You have an er