Hi,
I use PHP to handle some data entry and editing through html form's,
all very simple/standard stuff.
Fot the moment, I then store all my data in a file (using var_export),
but I will switch this over to MySQL at some point soon.
At least while I'm using my file storage at present, when a character
in a string needs to be escaped (eg. single quote, becomes \'), I find
that the backslash character keeps getting re-escaped every time the
string is edited, through a re-entry of the form.
So it then become \\\', etc...
What is the best way to stop this recursion ?
Thanks,
John.
Comment