query($sql); } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } ?>
fetch(PDO::FETCH_ASSOC)) { $memo_id = $row["id"]; $memo_num = $row["num"]; $memo_date = $row["regist_day"]; $memo_nick = $row["nick"]; $memo_content = str_replace("\n", "
", $row["content"]); $memo_content = str_replace(" ", " ", $memo_content); ?>
  • [삭제]"; } ?>
덧글
query($sql); // ripple PDOStatement 변수명을 다르게 } catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } while ($row_ripple = $stmh1->fetch(PDO::FETCH_ASSOC)) { $ripple_num = $row_ripple["num"]; $ripple_id = $row_ripple["id"]; $ripple_nick = $row_ripple["nick"]; $ripple_content = str_replace("\n", "
", $row_ripple["content"]); $ripple_content = str_replace(" ", " ", $ripple_content); $ripple_date = $row_ripple["regist_day"]; ?>
  •    
  • [삭제]"; } ?>