Á¤¼ºÈÆ
    ±³Àç ÇÁ·Î±×·¥¿¡¼­ view.php ¼öÁ¤



±³Àç ÇÁ·Î±×·¥¿¡ CKEditor ¸¦ Àû¿ëÇÑ ÈÄ¿¡ °Ô½Ã¹°ÀÇ ³»¿ëÀ» Á¦´ë·Î º¸·Á¸é ´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇؾßÇÕ´Ï´Ù.

 

view,php ¿¡¼­

<?
    session_start();
    include ("../reg_globals.php");
    include "../lib/dbconn.php";

    $sql = "select * from $table where num=$num";
    $result = mysqli_query($connect,$sql);

    $row = mysqli_fetch_array($result);

    $item_num     = $row[num];
    $item_id      = $row[id];
    $item_name    = $row[name];
    $item_nick    = $row[nick];
    $item_hit     = $row[hit];

    $file_name[0]   = $row[file_name_0];
    $file_name[1]   = $row[file_name_1];
    $file_name[2]   = $row[file_name_2];

    $file_type[0]   = $row[file_type_0];
    $file_type[1]   = $row[file_type_1];
    $file_type[2]   = $row[file_type_2];

    $file_copied[0] = $row[file_copied_0];
    $file_copied[1] = $row[file_copied_1];
    $file_copied[2] = $row[file_copied_2];

    $item_date    = $row[regist_day];
    /*
    $item_subject = str_replace(" ", "&nbsp;", $row[subject]);

    $item_content = str_replace(" ", "&nbsp;", $row[content]);
    $item_content = str_replace("n", "<br>", $item_content);
     */
    $item_subject = $row[subject];
    $item_content = $row[content];

    $new_hit = $item_hit + 1;

    $sql = "update $table set hit=$new_hit where num=$num";   // ±Û Á¶È¸¼ö Áõ°¡½ÃÅ´
    mysqli_query($connect,$sql);  // $sql ¿¡ ÀúÀåµÈ ¸í·É ½ÇÇà
?>

HTML ·Î ÀÔ·ÂÇÏ´Â °ÍÀ̱⠶§¹®¿¡

À§ÀÇ ³ë¶õ»ö¿¡ ÀÖ´Â °Íó·³ ÀÌ°÷À» comments ó¸®ÇؾßÇÕ´Ï´Ù.

 

Á¤¼ºÈÆ

 

  µî·ÏÀÏ : 2017-06-11 [22:57] Á¶È¸ : 1424 ´Ù¿î : 0   
 
¡â ÀÌÀü±ÛÀÚ½ÅÀÇ °Ô½ÃÆÇ¿¡ CKEditor HTML ÆíÁý±â Ãß°¡Çϱâ
¡ä ´ÙÀ½±Û¼³Ä¡ ¹æ¹ý
À¥¼­¹öÇÁ·Î±×·¡¹Ö
¹øÈ£ ¨Ï Á¦ ¸ñ À̸§ Á¶È¸ µî·ÏÀÏ
°£´Ü ¸®´ª½º »ç¿ë¼³¸í¼­
Çаú ¸®´ª½º ¼­¹ö Á¢¼Ó¹æ¹ý
±â¸»°úÁ¦ Á¦¾È¹ßÇ¥ ³»¿ë
±â¸»°úÁ¦ ÃÖÁ¾¹ßÇ¥ ³»¿ë
±â¸»°úÁ¦ ÃÖÁ¾º¸°í¼­ ³»¿ë
41 ÀÚ½ÅÀÇ °Ô½ÃÆÇ¿¡ CKEditor HTML ÆíÁý±â Ãß°¡Çϱ⠰øÁö Á¤¼ºÈÆ 14929 06-05
40 ¦¦❶ ±³Àç ÇÁ·Î±×·¥¿¡¼­ view.php ¼öÁ¤ ´äº¯ Á¤¼ºÈÆ 1424 06-11
39 ¦¦❶ l¼³Ä¡ ¹æ¹ý ´äº¯ Á¤¼ºÈÆ 1620 06-05
38 ¦¦❶ lCKEditor ¼³Á¤ ´äº¯ Á¤¼ºÈÆ 2678 06-05
37 Çѱ۹®Á¦ ÇØ°á °øÁö Á¤¼ºÈÆ 1176 05-15
36 ¦¦❶ ¸®´ª½º¿¡¼­ ÆÄÀÏÀÇ ÆùÆ® È®ÀÎÇÏ´Â ¹æ¹ý ´äº¯ Á¤¼ºÈÆ 1155 05-15
35 ¦¦❶ EUC-KR ÆÄÀÏÀ» UTF-8 ÆÄÀÏ·Î ¸¸µå´Â ¹ý ´äº¯ Á¤¼ºÈÆ 1424 05-15
34 ¦¦❶ putty Á¢¼Ó ÈÄ ssh ¿¡¼­ UTF-8 ¼³Á¤ ´äº¯ Á¤¼ºÈÆ 1298 05-15
33 2017 À¥¼­¹ö ±â¸»°úÁ¦ Á¶Æí¼º ¹× ÁÖÁ¦ °øÁö Á¤¼ºÈÆ 1769 05-04
32 À¥ °ÔÀÓ °øÁö Á¤¼ºÈÆ 1919 10-18
31 ¦¦❶ l(±â»ç) À¥(HTML5)ÀÌ °ÔÀÓÀ» Áö¹èÇÒ ¶§ ´äº¯ Á¤¼ºÈÆ 2110 04-06
30 ¦¦❶ l30 Amazing Games Made Only With HTML5 ´äº¯ Á¤¼ºÈÆ 3208 03-10
29 ¦¦❶ lHow to Make a HTML5 Game ´äº¯ Á¤¼ºÈÆ 3064 03-10
28 ¦¦❶ lMake a snake game using HTML5 canvas and Jquery ´äº¯ Á¤¼ºÈÆ 1877 03-10
27 ¦¦❶ lHTML Game Example ´äº¯ Á¤¼ºÈÆ 1808 03-10

[1][2][3][4][5]