글을쓰고...등록된글을 열어보면..내용이않나와요..본문내용이...
$query = "SELECT idx, family, name, email, homepage, ip , html, subject, content, signdate, ref, filename, filesize, html from gnb_board where idx=$number";
$stmt = ociparse($connect, $query);
ociexecute($stmt);
ocifetchinto($stmt, &$result);
list ($this_idx, $this_family, $this_name, $this_email, $this_homepage, $this_ip, $this_html, $this_subject, $this_content, $this_signdate, $this_ref, $this_filename, $this_filesize, $this_html_use) = $result;
$this_content = nl2br($this_content);
$this_subject = ereg_replace("[\]{3}","", $this_subject);
$this_content = ereg_replace("[\]{3}","", $this_content);
if ($this_html_use != 1) {
$this_content = htmlspecialchars($this_content);
}
이내용이..content.(본문)을 뿌려주는부분인데...이대로하면..재생각으로는
무한루프을도는지...디비에서 내용을 가져오지못하고..그냥 계속읽기만해ㅅ요ㅣ..넘어가질않아요.....help me pz도와줘요....
|