Hi! I have a form whitch save some datas (for example: this is my "first" lection Code (markup): ) into the mysql database. The problem is that in the MySql databas the following text will be saved: this is my \"first\" lection Code (markup): So my question is: How can I avoid \" Code (markup): and save only " Code (markup): ? Thanks
First you need to see why the slashes are added. You can use get_magic_quotes_gpc(); to see if you have magic quotes on. I recommend having them off and filtering the data as YOU want (e.g., using your database's escape characters before inputting to a db).