| FAQ : Foire Aux Questions <<< |
I would like to write a generic PHP script that can handle data coming from any form. How do I know which POST method variables are available? | I need to convert all single-quotes (') to a backslash
followed by a single-quote (\'). How can I do this with a
regular expression? I'd also like to convert " to \" and
\ to \\. >>> |
| << | I would like to write a generic PHP script that can handle data coming from any form. How do I know which POST method variables are available? | >> |
| FAQ : Foire Aux Questions | Using PHP | I need to convert all single-quotes (') to a backslash followed by a single-quote (\'). How can I do this with a regular expression? I'd also like to convert " to \" and \ to \\. |