-
Solved: Prevent Sql injection in User Form
I have a bunch of input boxes which I need to save down to the database.
Does anyone know how to escape text entered by a user (which might contain apostrophes)....
This should be fairly common.
I am using straight SQL to insert the data into the database - INSERT INTO MyTable Values(...)
-
I ended up having just to escape single apostrophes
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules