내 프로젝트 중 하나에 NicEdit WYSIWYG 편집기를 사용하고 있습니다.코드가있는 NicEdit
문제 메신저 NicEdit 날 MySQL 데이터베이스에 대한 코드 (HTML, CSS, PHP 등)을 게시 할 수 있도록하려는 갖는. 다른 모든 것은 데이터베이스에 정상적으로 저장됩니다. 또한 NicEdit 도구 패널에서 '코드'단추를 찾을 수 없습니다. 여기
는 HTML 코드<form action="submit" enctype="multipart/form-data" method="post" >
<textarea name="area1" id="area1" cols=120></textarea>
<button type="submit" class="btns" id="btns">Submi</button>
</form>
PHP 코드
$ptext = isset($_POST['area1'])?$_POST['area1']:""
$mysqli->query("INSERT INTO tutorials(ptxt) VALUES ('$ptext'')") or die (mysqli_error());
이에 대한 모든 솔루션이 무엇입니까? 미리 감사드립니다.