How to replace particular characters
Posted: Sun May 24, 2009 3:42 am
hi, i have a form to insert data into database and i'm having some problems on entering new data.
when user inserts characters like $ ' &, it is not inserting the whole text to database.
what i wanted to do is, when user insert those characters, it automatically replaces them with other characters like $ with USD, ' with ` and & with and.
if you know the solution for this problem, please help
thanx
when user inserts characters like $ ' &, it is not inserting the whole text to database.
what i wanted to do is, when user insert those characters, it automatically replaces them with other characters like $ with USD, ' with ` and & with and.
if you know the solution for this problem, please help
thanx