ขอโทษทีครับ ผมได้โค๊ดตัวนี้มาครับ แต่ว่า วางไว้ตรงไหน ครับท่าน ขอบคุณครับ
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\myDatabase.mdb;
User Id=admin;Password=;
จากโค๊ดดังนี้ครับ
<!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=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
body {
background-color: #CCC;
background-image: url(Images/Blackground/3.jpg);
}
</style>
</head>
<body><center>
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\myDatabase.mdb;
User Id=admin;Password=;
<p><font color="#99FFCC" size="+3">Resection Calculation</font></p>
<p><font color="#FFFF00" size="+1"><b>Resection Calculation Setup Instrument(Shall be Clockwish Input&Measure)</b></font></p>
<table width="915" border="1" cellpadding="1" cellspacing="1" bordercolor="#99FFCC">
<tr bordercolor="#0066CC">
<td width="34" bgcolor="#0066CC"><center><font color="#FFFFFF"><B>Piont</B></font></center></td>
<td width="120" bgcolor="#0066CC"><center><font color="#FFFFFF"><B>Northing</B></font></center></td>
<td width="120" bgcolor="#0066CC"><center><font color="#FFFFFF"><B>Easting</B></font></center></td>
<td width="120" bgcolor="#0066CC"><center><font color="#FFFFFF"><B>Elev</B></font></center></td>
<td width="120" bgcolor="#0066CC"><center><font color="#FFFFFF"><B>HT/HI</B></font></center></td>
<td width="120" bgcolor="#0066CC"><center><font color="#FFFFFF"><B>Slope Dist.</B></font></center></td>
<td width="120" bgcolor="#0066CC"><center><font color="#FFFFFF"><B>Zenith Angle D.mmss</B></font></center></td>
<td width="208" bgcolor="#0066CC"><center><font color="#FFFFFF"><B>Horizontal Angle D.mmss</B></font></center></td>
</tr>
<tr>
<td bgcolor="#0066CC"><center><font color="#FFFF00"><B>A</B></font></center></td>
<td ><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></td>
<td><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></td>
<td><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></td>
<td><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></td>
<td><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></td>
<td><center><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></center></td>
<td><center><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></center></td>
</tr>
<tr>
<td bgcolor="#0066CC"><center><font color="#FFFF00"><B>B</B></font></center></td>
<td><input name="address2" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20" /></td>
<td><input name="address4" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20" /></td>
<td><input name="address6" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20" /></td>
<td><input name="address8" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20" /></td>
<td><input name="address10" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20" /></td>
<td><center><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></center></td>
<td><center><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></center></td>
</tr>
<tr>
<td bgcolor="#0066CC"><center><font color="#FFFF00"><B>C</B></font></center></td>
<td><input name="address3" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20" /></td>
<td><input name="address5" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20" /></td>
<td><input name="address7" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20" /></td>
<td><input name="address9" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20" /></td>
<td><input name="address11" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20" /></td>
<td><center><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></center></td>
<td><center><input name="address" type="text" value="<?php echo $dbarr['address'] ; ?>" size="20"></center></td>
</tr>
</table>
<p><center>
<p>
<input type="submit" name="Submit2" value="บันทึกการเปลี่ยนแปลง">
</p>
<p><img src="menu work/Resec.jpg" width="353" height="232" /></p>
<p> </p>
</center></p>
</center>
</body>
</html>