Welcome to WebmasterWorld Guest from 184.108.40.206
How do I get rid of the slashes around quotes(/""/) before it gets inserted into my database?
$sql = "INSERT INTO data (comments) VALUES ('$comments')";
How do I prevent the slashes with quotes from being inserted into the database when the comments are submitted?
i.e. this is an example /"quote"/. Should read: this is an example "quote".
p.s. Normally its never a problem but occassionally I get some strange comment submitted that is full of slashes around quotes. Maybe someone copied the information and pasted it into the form... i don't know.