somethin like when we key in " didn't " in the textfield. how to prevent
" ' " occur error ? i just know add \ before ' . but when we insert data, how we know user will type ' ? any method can be prevent it ?
how to prevent error of " ' " when input text?
Moderator: General Moderators
-
bionicdonkey
- Forum Contributor
- Posts: 132
- Joined: Fri Jan 31, 2003 2:28 am
- Location: Sydney, Australia
- Contact:
stripslashes
when using addslashes don't for to use the opposite command of stripslashes other wise you could end up in slash hell.
phpScott
phpScott