I am creating a message board type script that uses mysql.
I need a filter that takes out the bad characters such as ' (single quotes) etc.
that will mess up the database.
I am looking for one line that does several caracters that does something like:
$linkmessage =~ s/'/\'/g;
but the problem with this is I would have to do it for all characters and it still just inserts the '
Thanks any suggestions or helps are appreciated