This ought to be simple, but I can't figure it out...
My script is a web form that accepts text from the form and drops it into a mysql database table. Certain characters have to be escaped or mysql chokes or does the odd thing. One is the backslash...I'm trying to do this:
s/\/\\/g;
which doesn't work.
which compiles ;-) but doesn't add the additional backslash.
Where am I brain damaged on this?