When sql query has apostrophe ' and the query is inserted into database. The backslash is added to the query. When I select the data from databse I still have the query. My question is what is the good way to solve the problem. I don't want to see backslashes in the text.
Thanks
[man]stripslashes[/man] will get rid of whatever is added. you should always pass your data through [man]mysql_real_escape_string[/man] before placing it into the database, for security and to make sure the queries run successfully.