¢Ì°Ô½ÃÆǸ¸µé±â ////ÆÄÀϸí:list.html////////////////////////// New Document
MyBoard ver 1.0
"; } ?>
¹ø È£ Á¦ ¸ñ ÀÌ ¸§ µî·Ï³¯Â¥ Á¶È¸¼ö
$row[num] $row[subject] $row[name] $row[reg_date] $row[cnt]

±Û¾²±â ////ÆÄÀϸí:write.html//////////////////////////
±Û¾²±â
ÀÌ ¸§
À̸ÞÀÏ
ȨÆäÀÌÁö
Á¦ ¸ñ
³» ¿ë
ºñ¹Ð¹øÈ£
   
////ÆÄÀϸí:write.php////////////////////////// alert('ºñ¾îÀÖ´Â Ç׸ñÀÌ ÀÖ½À´Ï´Ù'); location.href='write.html'; "; exit; } echo "³Ñ¾î¿Â À̸§ : $name
"; echo "³Ñ¾î¿Â À̸ÞÀÏ : $email
"; echo "³Ñ¾î¿Â ȨÆäÀÌÁö : $hpage
"; echo "³Ñ¾î¿Â Á¦¸ñ : $subject
"; echo "³Ñ¾î¿Â ³»¿ë ; $dbpass"; $userip=getenv("REMOTE_ADDR"); echo "userip --- $userip
"; include "connect.php"; $query="insert into board1 values(NULL, '$name', '$email', '$hpage', '$subject', '$content', '$dbpass', '$userip',now(), 0)"; $result=mysql_query($query); if($resuylt){ echo "ÀԷ¼º°ø"; }else { echo "ÀԷ½ÇÆÐ"; } echo ""; ?> ////ÆÄÀϸí:table.html////////////////////////// New Document

Å×À̺íÀÇ ¼Ó¼ºÀ» ¾Ë¾Æ¿É´Ï´Ù.

"; } ?> ////ÆÄÀϸí:connect.php////////////////////////// ////ÆÄÀϸí:board1db.php////////////////////////// ::::::::::::::::::::::::::::::::::::::::::::::::: ///for2.php "; } } ?>
ÄÄ·³À̸§ ÄÄ·³Å¸ÀÔ ÄÄ·³Å©±â ÄÄ·³¼Ó¼º ¼Ò¼ÓÅ×À̺í
$fieldName $fieldType $fieldLength $fieldFlags $fieldTable