Permit "'" charachter
Brought to you by:
kirigoe,
sinner_prairy
I suggest you to use this code:
$_POST['frm_description'] =
stripslashes(htmlentities($_POST['frm_description'],
ENT_QUOTES));
$_POST['frm_affected'] =
stripslashes(htmlentities($_POST['frm_affected'],
ENT_QUOTES));
$_POST['frm_scope'] =
stripslashes(htmlentities($_POST['frm_scope'],
ENT_QUOTES));
instead of
$_POST['frm_description'] =
strip_html($_POST['frm_description']);
$_POST['frm_affected'] =
strip_html($_POST['frm_affected']);
$_POST['frm_scope'] =
strip_html($_POST['frm_scope']);
to strip your entities from forms.