Hi everyone,
I have a form which submits several fields to another page. This 2nd page then inputs the values into a SQL table.
The problem I've run into is that if I use some characters, like a single quote in one of the fields, the SQL will break.
I understand why that happens, but how can I get around it? Is there a function that "cleans" a string so that it can be used? Or do I have to use some sort of replace functions?
Any help would really be appreciated!
Thank you!
Joseph
I have a form which submits several fields to another page. This 2nd page then inputs the values into a SQL table.
The problem I've run into is that if I use some characters, like a single quote in one of the fields, the SQL will break.
I understand why that happens, but how can I get around it? Is there a function that "cleans" a string so that it can be used? Or do I have to use some sort of replace functions?
Any help would really be appreciated!
Thank you!
Joseph