나는 데이터를 삽입하려고 할 때마다 $content
이 삽입되지 않을 때 다음 코드를 사용합니다. 어디에 문제가 있을까요? 보안 관련 문제에 대해 기능 테스트 입력을 사용하고 있습니다.mysql 게시물 누락 된 데이터 SERQU REQUEST_METHOD
<form method="POST" action="artPro.php">
<fieldset>
<legend>Create New Article</legend>
<br/>
Article Title:
<input type="text" placeholder="enter title here" class="span3" name="title" required>
Image/Video Path :
<input type="text" placeholder="enter image name e.g k.jpg or k.mp4 for video" name="path" class="span3" required/>
File Type :
<input type="text" name="file_type" class="span3" required placeholder="e.g: image or video"/>
<br/>
<label>Article Content:</label>
<textarea name="content" rows="20" class="jqte-test span12" required id="txtmsg"></textarea>
<br><button type="submit" class="btn btn-primary btn-large pull-right">Publish</button>
</fieldset>
</form>
양식을 볼 수 있습니까? 또는 데이터를 게시하는 방법? mysqli_query ($ con, $ sql)을 실행하기 전에 –
을 실행하면'echo $ sql'을 실행하고 질문을 출력 할 수 있습니까? – anurupr
echo $ sql INSERT INTO articles (title, Content, Image_VideoLink_Path, file_type) – Samueln8