1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<? include("../manage/category/common.php"); if( isset($name) && isset($subject) && isset($content) ){ $_content = addslashes($content); $reg_date = Time(); $tel = $tel1."-".$tel2."-".$tel3; $hphone = $hp1."-".$hp2."-".$hp3; //fid¸¦ ±¸ÇÑ´Ù. $fidQry = "select fid from mBoard_joint order by fid desc limit 1"; $fidResult = mysql_query($fidQry); $fidRow = mysql_fetch_array($fidResult); $_fid = $fidRow[0] +1; $insertQry = " insert into mBoard_joint values ( '','$name','$company','$email','$homepage','$tel','$hphone','$subject','$_content','', '','','A','n','$reg_date','','$id','$_fid' )"; mysql_query($insertQry); ?> <script> parent.Msg("µî·ÏÀÌ ¿Ï·áµÇ¾ú½À´Ï´Ù. °ËÅäÈÄ¿¡ ¿¬¶ôÀ» µå¸®°Ú½À´Ï´Ù."); </script> <? } ?>
|