]*?>@si"; $commentaire = preg_replace($masque,'',$commentaire); if($charset != "utf-8") $commentaire=cp1252Toiso88591($commentaire); $sql="insert into avis (num_empr,num_notice,note,sujet,commentaire) values ('$id_empr','$notice_id','$note','$sujet','".$commentaire."')"; if (mysql_query($sql, $dbh)) { ajax_http_send_response("1"); } else { ajax_http_send_response("0"); exit; } break; break; } ?>