The site has a form of
<form id="commentForm" name="form_edit" method="post" action="<?php echo general::link($tpl_folder.'/send') ; ?>"> <input type="text" name="FORM[title]" class="input_1" id="title_pls"> <textarea name="FORM[text]" id="text_pls" rows="30" class="text_1"></textarea> <input type="submit" name="submit" value="Отправить сообщение"> </form> If there are quotes in title and textarea, the data from the form is lost. Please tell me how to screen these fields?
name="FORM[\"title\"]"orname="FORM['title']"- mixhtmlspecialchars(). From the question is not entirely clear what you mean. - mix<textarea name="FORM[text]" id="text_pls" rows="30" class="text_1"><?php echo htmlspecialchars($_POST['FORM[text]']);?></textarea>- Digital Ua