Jump to content

control_freak

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by control_freak

  1. try using htmlspecialchars($_POST['key'], ENT_QUOTES); this should encode all the double and single quotes to html characters. Alternately, you can use str_replace function if you want to remove single quotes all the way from your strings str_replace("'", '', $_POST['key']);
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.