±³Àç ÇÁ·Î±×·¥¿¡ CKEditor ¸¦ Àû¿ëÇÑ ÈÄ¿¡ °Ô½Ã¹°ÀÇ ³»¿ëÀ» Á¦´ë·Î º¸·Á¸é ´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇؾßÇÕ´Ï´Ù.
view,php ¿¡¼ |
<? $sql = "select * from $table where num=$num"; $row = mysqli_fetch_array($result); $item_num = $row[num]; $file_name[0] = $row[file_name_0]; $file_type[0] = $row[file_type_0]; $file_copied[0] = $row[file_copied_0]; $item_date = $row[regist_day]; $item_content = str_replace(" ", " ", $row[content]); $new_hit = $item_hit + 1; $sql = "update $table set hit=$new_hit where num=$num"; // ±Û Á¶È¸¼ö Áõ°¡½ÃÅ´ |
HTML ·Î ÀÔ·ÂÇÏ´Â °ÍÀ̱⠶§¹®¿¡ À§ÀÇ ³ë¶õ»ö¿¡ ÀÖ´Â °Íó·³ ÀÌ°÷À» comments ó¸®ÇؾßÇÕ´Ï´Ù. |
Á¤¼ºÈÆ