บันทึกข้อมูลลง database ไม่ได้ครับ พอมาทำให้ CentOS 6.4 แล้วบันทึกไม่ได้
ดู version ของ mysql ครับ ตรงกันไม๊
Date :
2013-04-06 11:26:18
By :
mangkunzo
เอา Code มาดูหน่อยครับ
Date :
2013-04-06 11:27:30
By :
mr.win
โค้ดครับ
from.php
Code (PHP)
<HTML>
<HEAD><meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=window-874">
<meta http-equiv="content-Type" content="text/html; charset=tis-620"><!-- ãËéáÊ´§ÀÒÉÒä·Âä´é·Ø¡àºÒà«ÍÃì -->
<TITLE>ÊÃØ»¼Å¡ÒûÃÐàÁÔ¹ÊÁÃö¹ÐÍ͹äŹì</TITLE></HEAD>
<center><BODY BGCOLOR="#66FFFF" text="#660066">
<script language="javascript">
function fncSubmit()
{
if(confirm('ºÑ¹·Ö¡¢éÍÁÙÅà´ÕëÂǹÕé!!')==true)
{
return true;
}
else
{
return false;
}
}
</script>
<form action="save.php" method="post" name="form1" onSubmit="JavaScript:return fncSubmit();">
<H2>Ẻ»ÃÐàÁÔ¹ÊÁÃö¹Ð Í͹äŹì þ.ºéÒ¹ËÁÕè</H2>
<FORM METHOD="POST" ACTION="save.php">
ª×èÍ:<INPUT TYPE="text" NAME="txtfname"size="10"> ¹ÒÁÊ¡ØÅ:<INPUT TYPE="text" NAME="txtlname"size="12"> µÓá˹è§:<SELECT NAME="txtsa" >
<option value="">¡ÃسÒàÅ×Í¡</option>
<option value="¾ÂÒºÒÅà·¤¹Ô¤">¾ÂÒºÒÅà·¤¹Ô¤</option>
<option value="¾ÂÒºÒÅÇÔªÒªÕ¾">¾ÂÒºÒÅÇÔªÒªÕ¾</option>
</select>
ÃдѺ:<SELECT NAME="txtra" >
<option value="">¡ÃسÒàÅ×Í¡</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
</select>
µÖ¡:<SELECT NAME="txtward" >
<option value="">¡ÃسÒàÅ×Í¡</option>
<option value="01:ÍÒÂØáÃÃÁªÒÂ">ÍÒÂØáÃÃÁªÒÂ</option>
<option value="02:ÍÒÂØáÃÃÁËÔ§">ÍÒÂØáÃÃÁËÔ§</option>
<option value="03:ÈÑÅ¡ÃÃÁªÒÂ">ÈÑÅ¡ÃÃÁªÒÂ</option>
<option value="04:ÈÑÅ¡ÃÃÁËÔ§">ÈÑÅ¡ÃÃÁËÔ§</option>
<option value="05:µÒ ËÙ ¤Í ¨ÁÙ¡">µÒ ËÙ ¤Í ¨ÁÙ¡</option>
<option value="06:ÍÒÂØáÃÃÁ-ÈÑÅ¡ÃÃÁ3">ÍÒÂØáÃÃÁ-ÈÑÅ¡ÃÃÁ3</option>
<option value="07:Ëéͧ¤ÅÍ´">Ëéͧ¤ÅÍ´</option>
<option value="08:ÊÙµÔ¹ÃÕàǪ">ÊÙµÔ¹ÃÕàǪ</option>
<option value="09:µÖ¡à´ç¡">µÖ¡à´ç¡</option>
<option value="10:ICUà´ç¡">ICUà´ç¡</option>
<option value="11:ʧ¦ì-ÈÑÅ¡ÃÃÁ¡Ãд١">ʧ¦ì-ÈÑÅ¡ÃÃÁ¡Ãд١</option>
<option value="12:¼Ùé»èǹ͡">¼Ùé»èǹ͡</option>
<option value="13:ÍغѵÔà˵Ø-©Ø¡à©Ô¹">ÍغѵÔà˵Ø-©Ø¡à©Ô¹</option>
<option value="14:äµà·ÕÂÁ">äµà·ÕÂÁ</option>
<option value="15:¼Ùé»èÇÂ˹ѡ">¼Ùé»èÇÂ˹ѡ</option>
<option value="16:Ëéͧ¼èҵѴ">Ëéͧ¼èҵѴ</option>
<option value="17:ÇÔÊÑÕ¾ÂÒºÒÅ">ÇÔÊÑÕ¾ÂÒºÒÅ</option>
<option value="18:¤Çº¤ØÁ¡ÒõԴàª×éÍ">¤Çº¤ØÁ¡ÒõԴàª×éÍ</option>
<option value="19:˹èǨèÒ¡ÅÒ§">˹èǨèÒ¡ÅÒ§</option>
<option value="20:Í×è¹æ">Í×è¹æ</option>
</SELECT>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="5" BGCOLOR="#33CCCC"><BR>
<TR ALIGN="center" BGCOLOR="#EFEFEF">
<TD><B>¢éÍ</B></TD>
<TD><B>ÊÁÃö¹Ð (Competency)</B></TD>
<TD><B>0</B></TD>
<TD><B>1</B></TD>
<TD><B>2</B></TD>
<TD><B>3</B></TD>
<TD><B>4</B></TD>
<TD><B>5</B></TD>
<TD><B>6</B></TD>
</TR>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">1.</TD><!-- ¢éÍ1 -->
<TD> ¡ÒÃÁØ觼ÅÊÑÁÄ·¸Ôì(Achievement Motivation)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq13" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq13" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq13" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq13" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq13" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq13" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq13" VALUE="6">
</TD>
</TR>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">2.</TD><!-- ¢éÍÊͧ -->
<TD> ¤ÇÒÁÃèÇÁáçÃèÇÁã¨(Teamwork) </TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq14" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq14" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq14" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq14" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq14" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq14" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq14" VALUE="6">
</TD>
</TR>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">3.</TD><!-- ¢éÍÊÒÁ -->
<TD> ¡ÒÃÊÑè§ÊÁ¤ÇÒÁàªÕèÂǪÒ㹧ҹÍÒªÕ¾(Expertise)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq15" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq15" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq15" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq15" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq15" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq15" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq15" VALUE="6">
</TD>
</TR>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">4.</TD><!-- ¢éÍÊÕè -->
<TD> ¨ÃÔ¸ÃÃÁ(Integrity)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq16" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq16" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq16" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq16" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq16" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq16" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq16" VALUE="6">
</TD>
</TR>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">5.</TD><!-- ¢éÍËéÒ -->
<TD> ºÃÔ¡Ò÷Õè´Õ(Service mind)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq17" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq17" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq17" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq17" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq17" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq17" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq17" VALUE="6">
</TD>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">6.</TD><!-- ¢éÍË¡ -->
<TD> ¡ÒäԴÇÔà¤ÃÒÐËì(Analytic thinking)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq18" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq18" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq18" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq18" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq18" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq18" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq18" VALUE="6">
</TD>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">7.</TD><!-- ¢éÍà¨ç´ -->
<TD> ¤ÇÒÁ¶Ù¡µéͧ¢Í§§Ò¹(Concern for order)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq19" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq19" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq19" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq19" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq19" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq19" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq19" VALUE="6">
</TD>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">8.</TD><!-- ¢éÍá»´ -->
<TD> ¤ÇÒÁà¢éÒã¨Í§¤ì¡ÃáÅÐÃкºÃÒª¡ÒÃ(Organizational awareness)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq20" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq20" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq20" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq20" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq20" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq20" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq20" VALUE="6">
</TD>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">9.</TD><!-- ¢éÍà¡éÒ -->
<TD> ¡ÒÃÁͧÀҾͧ¤ìÃÇÁ(Conceptaul thinking)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq21" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq21" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq21" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq21" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq21" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq21" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq21" VALUE="6">
</TD>
<TR>
<TD>
<TD> <CENTER>ÊÁÃö¹ÐÇÔªÒªÕ¾</CENTER></TD>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">10.</TD><!-- ¢éÍÊÔº -->
<TD> ¤ÇÒÁ¤Ô´ÃÔàÃÔèÁÊÃéÒ§ÊÃäì(Creative thinking)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq22" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq22" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq22" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq22" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq22" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq22" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq22" VALUE="6">
</TD>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">11.</TD><!-- ¢éÍÊÔºàÍç´ -->
<TD> ·Ñ¡ÉСÒÃãªé¡Ãкǹ¡ÒþÂÒºÒÅ(Nursing process skill)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq23" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq23" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq23" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq23" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq23" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq23" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq23" VALUE="6">
</TD>
<TR BGCOLOR="#FFFFFF">
<TD ALIGN="center">12.</TD><!-- ¢éÍÊÔºÊͧ -->
<TD> ÀÒÇмÙé¹Ó(Leadership)</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq24" VALUE="0"CHECKED>
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq24" VALUE="1">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq24" VALUE="2" >
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq24" VALUE="3">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq24" VALUE="4">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq24" VALUE="5">
</TD>
<TD ALIGN="center">
<INPUT TYPE="radio" NAME="txtq24" VALUE="6">
</TD>
</TR>
</TABLE><BR>
<INPUT TYPE="submit" VALUE="ºÑ¹·Ö¡">
<INPUT TYPE="reset" VALUE="ÃÕ૵">
</FORM></center><BR>
<CENTER><H6>ÈÙ¹Âì¤ÍÁ¾ÔÇàµÍÃì þ.ºéÒ¹ËÁÕè</H6></CENTER>
</BODY>
</HTML>
save.php
Code (PHP)
<html>
<head>
<title>Save_ok</title>
<META HTTP-EQUIV="Refresh" CONTENT="5;URL=form.php">
</head>
<body bgcolor="#CC99FF" text="#6600FF"><BR><BR><BR><BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR><BR><CENTER><img src="pictu.png"></CENTER><!-- ãÊèÃÙ» -->
<?
$ip = $_SERVER['REMOTE_ADDR'];
$now = date("Y-m-d H:i:s");
$objConnect = mysql_connect("localhost","root","77887878") or die("Error Connect to Database");
$objDB = mysql_select_db("db_assess");
mysql_query("SET character_set_results=tis620");
mysql_query("SET character_set_client=tis620");
mysql_query("SET character_set_connection=tis620");
$strSQL = "INSERT INTO tb_assess ";
$strSQL .="(fname,lname,ward,sa,ra,q1,q2,q3,q4,q5,q6,q7,q8,q9,q10,q11,q12,q13,q14,q15,q16,q17, q18,q19,q20,q21,q22,q23,q24,q25,q26,q27,q28,q29,q30,q31,q32,q33,q34,q35,q36,q37, q38,q39,q40,q41,q42,q43,q44,q45,q46,q47,q48,q49,q50,q51,q52,q53,q54,q55,ip,date_time) ";
$strSQL .="VALUES ";
$strSQL .="('".$_POST["txtfname"]."','".$_POST["txtlname"]."','".$_POST["txtward"]."','".$_POST["txtsa"]."', '".$_POST["txtra"]."','".$_POST["txtq1"]."',
'".$_POST["txtq2"]."','".$_POST["txtq3"]."','".$_POST["txtq4"]."','".$_POST["txtq5"]."', '".$_POST["txtq6"]."','".$_POST["txtq7"]."' ";
$strSQL .=",'".$_POST["txtq8"]."','".$_POST["txtq9"]."','".$_POST["txtq10"]."','".$_POST["txtq11"]."' ,'".$_POST["txtq12"]."','".$_POST["txtq13"]."','".$_POST["txtq14"]."','".$_POST["txtq15"]."', '".$_POST["txtq16"]."','".$_POST["txtq17"]."','".$_POST["txtq18"]."','".$_POST["txtq19"]."' ,'".$_POST["txtq20"]."','".$_POST["txtq21"]."','".$_POST["txtq22"]."','".$_POST["txtq23"]."', '".$_POST["txtq24"]."','".$_POST["txtq25"]."','".$_POST["txtq26"]."','".$_POST["txtq27"]."' ,'".$_POST["txtq28"]."','".$_POST["txtq29"]."','".$_POST["txtq30"]."','".$_POST["txtq31"]."' ,'".$_POST["txtq32"]."','".$_POST["txtq33"]."','".$_POST["txtq34"]."','".$_POST["txtq35"]."' ,'".$_POST["txtq36"]."','".$_POST["txtq37"]."','".$_POST["txtq38"]."','".$_POST["txtq39"]."' ,'".$_POST["txtq40"]."','".$_POST["txtq41"]."','".$_POST["txtq42"]."','".$_POST["txtq43"]."', '".$_POST["txtq44"]."','".$_POST["txtq45"]."','".$_POST["txtq46"]."','".$_POST["txtq47"]."', '".$_POST["txtq48"]."','".$_POST["txtq49"]."','".$_POST["txtq50"]."','".$_POST["txtq51"]."' ,'".$_POST["txtq52"]."','".$_POST["txtq53"]."','".$_POST["txtq54"]."','".$_POST["txtq55"]."','".$ip."','".$now."') ";
$objQuery = mysql_query($strSQL);
if($objQuery)
{
echo "<center>ºÑ¹·Ö¡¢éÍÁÙÅàÃÕºÃéÍÂáÅéÇ</center>";
}
else
{
echo "Error Save [".$strSQL."]";
}
mysql_close($objConnect);
?>
</body>
</html>
ขอบคุณครับ
Date :
2013-04-06 11:37:31
By :
Beer_7
database ที่สร้างใน mysql ของ centos ครับ
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| db_assess |
| mydatabase |
| mysql |
+--------------------+
4 rows in set (0.00 sec)
mysql> use db_assess;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show tables;
+---------------------+
| Tables_in_db_assess |
+---------------------+
| tb_assess |
+---------------------+
1 row in set (0.00 sec)
mysql> show columns from tb_assess;
+-----------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+-------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| fname | varchar(30) | NO | | NULL | |
| lname | varchar(30) | NO | | NULL | |
| ward | varchar(30) | NO | | NULL | |
| sa | varchar(30) | NO | | NULL | |
| ra | int(11) | NO | | NULL | |
| bo | varchar(30) | NO | | NULL | |
| q1 | int(1) | NO | | NULL | |
| q2 | int(1) | NO | | NULL | |
| q3 | int(1) | NO | | NULL | |
| q4 | int(1) | NO | | NULL | |
| q5 | int(1) | NO | | NULL | |
| q6 | int(1) | NO | | NULL | |
| q7 | int(1) | NO | | NULL | |
| q8 | int(1) | NO | | NULL | |
| q9 | int(1) | NO | | NULL | |
| q10 | int(1) | NO | | NULL | |
| q11 | int(1) | NO | | NULL | |
| q12 | int(1) | NO | | NULL | |
| q13 | int(1) | NO | | NULL | |
| q14 | int(1) | NO | | NULL | |
| q15 | int(1) | NO | | NULL | |
| q16 | int(1) | NO | | NULL | |
| q17 | int(1) | NO | | NULL | |
| q18 | int(1) | NO | | NULL | |
| q19 | int(1) | NO | | NULL | |
| q20 | int(1) | NO | | NULL | |
| q21 | int(11) | NO | | NULL | |
| q22 | int(11) | NO | | NULL | |
| q23 | int(11) | NO | | NULL | |
| q24 | int(11) | NO | | NULL | |
| q25 | int(11) | NO | | NULL | |
| q26 | int(11) | NO | | NULL | |
| q27 | int(11) | NO | | NULL | |
| q28 | int(11) | NO | | NULL | |
| q29 | int(11) | NO | | NULL | |
| q30 | int(11) | NO | | NULL | |
| q31 | int(11) | NO | | NULL | |
| q32 | int(11) | NO | | NULL | |
| q33 | int(11) | NO | | NULL | |
| q34 | int(11) | NO | | NULL | |
| q35 | int(11) | NO | | NULL | |
| q36 | int(11) | NO | | NULL | |
| q37 | int(11) | NO | | NULL | |
| q38 | int(11) | NO | | NULL | |
| q39 | int(11) | NO | | NULL | |
| q40 | int(11) | NO | | NULL | |
| q41 | int(1) | NO | | NULL | |
| q42 | int(1) | NO | | NULL | |
| q43 | int(1) | NO | | NULL | |
| q44 | int(1) | NO | | NULL | |
| q45 | int(1) | NO | | NULL | |
| q46 | int(1) | NO | | NULL | |
| q47 | int(1) | NO | | NULL | |
| q48 | int(1) | NO | | NULL | |
| q49 | int(1) | NO | | NULL | |
| q50 | int(1) | NO | | NULL | |
| q51 | int(1) | NO | | NULL | |
| q52 | int(1) | NO | | NULL | |
| q53 | int(1) | NO | | NULL | |
| q54 | int(1) | NO | | NULL | |
| q55 | int(1) | NO | | NULL | |
| ip | varchar(15) | NO | | NULL | |
| date_time | datetime | NO | | NULL | |
+-----------+-------------+------+-----+---------+----------------+
64 rows in set (0.01 sec)
Date :
2013-04-06 11:43:13
By :
Beer_7
ลองเปลี่ยน <? เป็น <?php ดูค่ะ
Date :
2013-04-06 12:04:18
By :
survivor
จะทำเป็น database server อะครับ เห็น หน้าphpที่เขียนไว้ แต่บันทึกลงไม่ได้
Date :
2013-04-06 12:42:42
By :
Beer_7
Load balance : Server 05