I'm having an issue with my chat where chat posts are not getting inserted when using words like don't or won't.
mysql_query("INSERT INTO chat (poster_id,date,class,poster_name,message,whisper) VALUES ('".$menu['id']."','$date','$class','$name','$message','$whisper_id')");
$message is the text part of the insert.
I've tried "$message", "'.$message.'", and '".$message."' none of it helps. One of them simply changed the issue from ' to " not getting inserted.
Any advice would be great. I'm a bit rusty on my coding skills as I haven't done it it awhile.