CLIPER Level: Big Cheese
 Registered: 26-07-2005 Posts: 27
|
INSERT INTO statement : MySQL
Hi guys,
I am just curious if there is a good way/standard procedure on how to prevent ambiguous characters that will be inserted and queried in your database.
Like for example, I have a user inputted a paragraph like this one in my forum.
testing insert invalid characters "','" & test & "','" &%^@#$(%@^)
Well, for me, it will give a problem without replacing/cleaning the "','" chars. when using it in our INSERT INTO statement.
So what I do right now is encrypt the data. I dont use the Replace() or any good functions to clear that up.
So Any of you wants to post same learning and problem here? Thank you in Advance.
Regards,
Mark
____________________________
CLIPER
|