When I write a post on the board, with the posts and tried to put the image into
- by bismute
When I write a post on the board, with the posts and tried to put the image into.
When I add an image, the text in the image are about to enter.
<?php
$reg_date = time();
$member_idx = $_POST['member_idx'];
$q = "INSERT INTO ap_bbs (member_idx, subject,content,reg_date) VALUES('$member_idx', '$subject', '$content', '$reg_date')";
$result = $mysqli->query($q);
if ($result==false) {
$_SESSION['writing_status'] = 'NO';
}
else {
$_SESSION['writing_status'] = 'YES';
}
$mysqli->close();
?>
Writing, I think the logic is as follows, where the images in the attachment content and I'm wondering if there is any way to put.