i am tring to put " " or ' into a database and it keeps failing. I have tried addslashes and all sorts of stuff. It will not work
$message = addslashes($message);
insert into messages values(null,'$message');
That isnt the actual query but it serves the purpose.