»Ë»Ñ Æ÷·³
°³¹ßÀÚÆ÷·³ ÀÔ´Ï´Ù.
  • ºÏ¸¶Å© ¾ÆÀÌÄÜ

php Äõ¸®¹® Áú¹®ÀÔ´Ï´Ù.7

<?php
    header("Content-Type: text/html;charset=utf-8");
    $conn = mysqli_connect("localhost","hankh113","a123456","hankh113");
 $data_stream = "'".$_POST['Data1']."','".$_POST['Data2']."','".$_POST['Data3']."'";
 $regist_day = date("Y-m-d (H:i)");
    $query = "insert into zolzak(nickname,subject,content,regist_date) values (".$data_stream.",".$regist_day.")";
    $result = mysqli_query($conn, $query);
    
    if($result)
      echo "1";
    else
      echo "-1";
    
    mysqli_close($conn);
?>

 

 
 
¿ä°Çµ¥¿ä µµ´ëü ¾î¶²ºÎºÐÀÌ À߸ø됬´ÂÁö ¸øã°Ú¾î¼­¿ä ...
 
ºÎŹµå¸®°Ú½À´Ï´Ù.

 

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°

´Ù¸¥ÀÇ°ß 0 Ãßõ 1 °íµµ¸®Àλý

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 [* ºñȸ¿ø *]

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 °íÃ߸԰í¸É¸É

´Ù¸¥ÀÇ°ß 0 Ãßõ 1 ·¹µå³ªÀÎ

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 °íÃ߸԰í¸É¸É

´Ù¸¥ÀÇ°ß 0 Ãßõ 1 Å«ºØ¾î»§

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 °íÃ߸԰í¸É¸É
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û ¸ñ·Ïº¸±â