|
|
|
ใครก็ได้ช่วยดูให้หน่อยค่ะ พอดีจะทำการแอดข้อมูลลงฐานข้อมูลนะคะ |
|
|
|
|
|
|
|
ใครก็ได้ช่วยดูให้หน่อยค่ะ พอดีจะทำการแอดข้อมูลลงฐานข้อมูลนะคะ หน้าจอที่จะแอดข้อมูลประมาณนี้ค่ะ และมีการเก็บเบสตามรายละเอียดด้านล่างค่ะ รบกวนดูให้หน่อยค่ะว่าต้องเขียนคำสั่งแอดข้อมูลประมาณไหนค่ะ รบกวนด้วยนะคะ
ตาราง
Brand varchar(20) Toyata,Honda
Model varchar(20) Yaris,Alits,vios,city,jazz,civic
Color varchar(20) สีขาว,สีดำ,สีบอนซ์,สีฟ้า,สีแดง
Ondate datetime วันที่สั่ง
form.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>Untitled Document</title>
<script type="text/javascript" src="js/datetimepicker_css.js"></script>
</head>
<body>
<table width="101%" border="0" cellspacing="0">
<tr>
<td width="13%" valign="top"> </td>
<td width="87%"><table width="100%" border="1" bordercolor="#FF99FF">
<tr>
<td width="25%" rowspan="9" class="bg3"><input name="chk_Toyota" type="checkbox" id="chk_Toyota" value="Toyota" />
<span class="text21">Toyota</span></td>
<td width="24%" rowspan="3" class="bg3"><input name="chk_Vios" type="checkbox" id="chk_Vios" value="Vios"/>
vios</td>
<td width="13%" class="bg3"><input name="chk_vios_white" type="checkbox" id="chk_vios_white" value="สีขาว" />
สีขาว</td>
<td width="25%" class="bg3"><input name="Date_vios_white" type="text" id="Date_vios_white" />
<a href="javascript:NewCssCal ('Date_vios_white','yyyyMMdd','arrow',true,'24')" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0"/></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_vios_black" type="checkbox" id="chk_vios_black" value="สีดำ"/>
<span class="text21">สีดำ</span></td>
<td class="bg3"><input name="Date_vios_black" type="text" id="Date_vios_black" />
<a href="javascript:NewCssCal ('Date_vios_black','yyyyMMdd','arrow',true,'24')" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_vios_Silver" type="checkbox" id="chk_vios_Silver" value="สีเงิน" />
สี
<span class="text21">เงิน</span></td>
<td class="bg3"><input name="Date_vios_Silver" type="text" id="Date_vios_Silver" />
<a href="javascript:NewCssCal ('Date_vios_Silver','yyyyMMdd','arrow',true,'24')" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td rowspan="3" class="bg3"><input name="chk_Yaris" type="checkbox" id="chk_Yaris" value="Yaris" />
Yaris <br /></td>
<td class="bg3"><input name="chk_yaris_blue" type="checkbox" id="chk_yaris_blue" value="สีฟ้า"/>
<span class="text21">สีฟ้า</span></td>
<td class="bg3"><input name="Date_yaris_blue" type="text" id="Date_yaris_blue" />
<a href="javascript:NewCssCal ('Date_yaris_blue','yyyyMMdd','arrow',true,'24')" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_yari_white" type="checkbox" id="chk_yari_white" value="สีขาว"/>
<span class="text21">สีขาว</span></td>
<td class="bg3"><input name="Date_yaris_white" type="text" id="Date_yaris_white" />
<a href="javascript:NewCssCal ('Date_yaris_white','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_yari_black" type="checkbox" id="chk_yari_black" value="สีดำ"/>
สีดำ <span class="text21"></span></td>
<td class="bg3"><input name="Date_yaris_black" type="text" id="Date_yaris_black" />
<a href="javascript:NewCssCal ('Date_yaris_black','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td rowspan="3" class="bg3"><input name="chk_Alits" type="checkbox" id="chk_Alits" value="Alits" />
Alits<br /></td>
<td class="bg3"><input name="chk_Alits_Bronze" type="checkbox" id="chk_Alits_Bronze" value="สีบอนซ์"/>
สีบรอนซ์</td>
<td class="bg3"><input name="Date_Alits_Bronze" type="text" id="Date_Alits_Bronze" />
<a href="javascript:NewCssCal ('Date_Alits_Bronze','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_Alits_white" type="checkbox" id="chk_Alits_white" />
สี<span class="text21">ขาว</span></td>
<td class="bg3"><input name="Date_Alits_white" type="text" id="Date_Alits_white" />
<a href="javascript:NewCssCal ('Date_Alits_white','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_Alits_Silver" type="checkbox" id="chk_Alits_Silver" />
สีเงิน</td>
<td class="bg3"><input name="Date_Alits_Silver" type="text" id="Date_Alits_Silver" />
<a href="javascript:NewCssCal ('Date_Alits_Silver','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td rowspan="9" class="bg3"><input name="chk_Honda" type="checkbox" id="chk_Honda" value="Honda" />
Honda</td>
<td rowspan="3" class="bg3"><input name="chk_jazz" type="checkbox" id="chk_jazz" value="Jazz" />
<span class="text21">Jazz</span></td>
<td class="bg3"><input name="chk_jass_blue" type="checkbox" id="chk_jass_blue" value="สีฟ้า" />
สีฟ้า</td>
<td class="bg3"><input name="Date_jazz_blue" type="text" id="Date_jazz_blue" />
<a href="javascript:NewCssCal ('Date_jazz_blue','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_jazz_red" type="checkbox" id="chk_jazz_red" value="สีแดง" />
สี<span class="text21">แดง</span></td>
<td class="bg3"><input name="Date_jazz_red" type="text" id="Date_jazz_red" />
<a href="javascript:NewCssCal ('Date_jazz_red','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_jazz_white" type="checkbox" id="chk_jazz_white" value="สีขาว" />
<span class="text21">สีขาว</span></td>
<td class="bg3"><input name="Date_jazz_white" type="text" id="Date_jazz_white" />
<a href="javascript:NewCssCal ('Date_jazz_white','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td rowspan="3" class="bg3"><input name="chk_civic" type="checkbox" id="chk_civic" value="Civic" />
Civic<br /></td>
<td class="bg3"><input name="chk_civic_black" type="checkbox" id="chk_civic_black" value="สีดำ"/>
สี<span class="text21">ดำ</span></td>
<td class="bg3"><input name="Date_civic_black" type="text" id="Date_civic_black" />
<a href="javascript:NewCssCal ('Date_civic_black','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_civic_white" type="checkbox" id="chk_civic_white" value="สีขาว"/>
<span class="text21">ขาว</span></td>
<td class="bg3"><input name="Date_civic_white" type="text" id="Date_civic_white" />
<a href="javascript:NewCssCal ('Date_civic_white','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_civic_Bronze" type="checkbox" id="chk_civic_Bronze" value="สีบรอนซ์" />
สีบรอนซ์</td>
<td class="bg3"><input name="Date_civic_Bronze" type="text" id="Date_civic_Bronze" />
<a href="javascript:NewCssCal ('Date_civic_Bronze','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td rowspan="3" class="bg3"><input name="chk_city" type="checkbox" id="chk_city" value="City" />
City<br /></td>
<td class="bg3"><input name="chk_city_white" type="checkbox" id="chk_city_white" value="สีขาว"/>
สีขาว</td>
<td class="bg3"><input name="Date_city_white" type="text" id="Date_city_white" />
<a href="javascript:NewCssCal ('Date_city_white','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_city_black" type="checkbox" id="chk_city_black" value="สีดำ"/>
สีดำ</td>
<td class="bg3"><input name="Date_city_black" type="text" id="Date_city_black" />
<a href="javascript:NewCssCal ('Date_city_black','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
<tr>
<td class="bg3"><input name="chk_city_Bronze" type="checkbox" id="chk_city_Bronze" value="สีบรอนซ์" />
<span class="text21">สีบรอนซ์</span></td>
<td class="bg3"><input name="Date_city_Bronze" type="text" id="Date_city_Bronze" />
<a href="javascript:NewCssCal ('Date_city_Bronze','yyyyMMdd','arrow',true,'24');" ><img src="images/cal.gif" alt="Pick a date" width="16" height="16" border="0" /></a></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Tag : PHP, MySQL
|
|
|
|
|
|
Date :
2011-03-10 15:22:41 |
By :
ติ๊ก |
View :
785 |
Reply :
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 04
|