When I write a post on the board, with the posts and tried to put the image into

Posted by bismute on Stack Overflow See other posts from Stack Overflow or by bismute
Published on 2013-11-03T03:47:28Z Indexed on 2013/11/03 3:53 UTC
Read the original article Hit count: 163

Filed under:

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.

© Stack Overflow or respective owner

Related posts about php