Dear all,
I have a ? about single quote, before data is saved in database i use addslashes($str) for the field in case user inputs single quote in the text field but when the system retrieves the data it displays out the back slash oso... and when every time user updates once it adds another back slash for the single quote no matter back slash already exists or not...
what should i do if i want to use addslashes() to skip the database error (mysql) for the single quote and need the back slashes disappear when display out the data...
Thanks & regards,
pf