<!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>
<link type="text/css" href="style.css" rel="stylesheet">
<link type="text/css" href="css/jquery.ui.all.css" rel="stylesheet">
<link type="text/css" href="css/jquery.ui.datepicker.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.5.1.js"></script>
<script type="text/javascript" src="js/ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="js/ui/jquery.ui.datepicker.js"></script>
<script type="text/javascript">
$(function(){
$("#prdate").datepicker({
buttonImage:'css/images/calendar.gif',
buttonImageOnly:true,
showOn:'button'
});
});
</script>
</head>
<body>
<form action="" method="post">
<table width="50%" border="0">
<tr>
<td width="33%"> </td>
<td width="3%"> </td>
<td width="64%"> </td>
</tr>
<tr>
<td>tanggal kirim</td>
<td>:</td>
<td><input type="text" id="prdate" name="prdate"></td>
</tr>
<tr>
<td>tanggal di terima</td>
<td>:</td>
<td><input type="text" id="prdate" name="prdate"></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><label>
<input type="submit" name="Save" id="Save" value="Save" />
</label></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
kenapa sll satu ya mas yang tampil image calender di samping textbox..thx ya mas..tuhan yang membalas kebaikan mas ellyx. <table width="70%">
<tr>
<th width="10%">1</th>
<td colspan="2">
<p align="justify">
Untuk kriteria <font color="red">harga</font>,
berilah penilaian 1 - 5 menurut kepentingan Anda,
semakin rendah nilai yang Anda berikan semakin mendominasi pada perhitungan.
</p>
</td>
</tr>
<?php //menampilkan merk kamera
$a = 1;
echo "<tr>
<td rowspan=4></td>";
include "../../koneksi.php";
//$idh = $_POST['idh'];
$query = "SELECT tipe FROM kamera WHERE kebutuhan='pemula'";
$result = mysql_query($query) or die ('Error');
while ($data = mysql_fetch_array($result)){
echo "<td width=25%>$data[0]</td>
<td><input type='text' name='a".$a."' id='a".$a."' size=1 maxlength=1 ></td>
</tr>";
$a++;
}
?>
<tr>
<td colspan="4"></td>
</tr>
<tr>
<th>2</th>
<td colspan="2">
<p align="justify">
Untuk kriteria <font color="red">ukuran sensor</font>,
berilah penilaian 1 - 5 menurut kepentingan Anda,
semakin tinggi nilai yang Anda berikan semakin mendominasi pada perhitungan.
</p>
</td>
</tr>
<?php //menampilkan merk kamera
$b=1;
echo "<tr>
<td rowspan=4></td>";
include "../../koneksi.php";
//$idh = $_POST['idh'];
$query = "SELECT tipe FROM kamera WHERE kebutuhan='pemula'";
$result = mysql_query($query) or die ('Error');
while ($data = mysql_fetch_array($result)){
echo "<td width=25%>$data[0]</td>
<td><input type='text' name='b".$b."' id='b".$b."' size=1 maxlength=1 ></td>
</tr>";
$b++;
}
?>
<tr>
<td colspan="4"></td>
</tr>
<tr>
<th>3</th>
<td colspan="2">
<p align="justify">
Untuk kriteria <font color="red">resolusi</font>,
berilah penilaian 1 - 5 menurut kepentingan Anda,
semakin tinggi nilai yang Anda berikan semakin mendominasi pada perhitungan.
</p>
</td>
</tr>
<?php //menampilkan merk kamera
$c=1;
echo "<tr>
<td rowspan=4></td>";
include "../../koneksi.php";
//$idh = $_POST['idh'];
$query = "SELECT tipe FROM kamera WHERE kebutuhan='pemula'";
$result = mysql_query($query) or die ('Error');
while ($data = mysql_fetch_array($result)){
echo "<td width=25%>$data[0]</td>
<td><input type='text' name='c".$c."' id='c".$c."' size=1 maxlength=1></td>
</tr>";
$c++;
}
?>
<tr>
<td colspan="4"></td>
</tr>
<tr>
<th>4</th>
<td colspan="2">
<p align="justify">
Untuk kriteria <font color="red">jumlah auto fokus</font>,
berilah penilaian 1 - 5 menurut kepentingan Anda,
semakin tinggi nilai yang Anda berikan semakin mendominasi pada perhitungan.
</p>
</td>
</tr>
<?php //menampilkan merk kamera
$d=1;
echo "<tr>
<td rowspan=4></td>";
include "../../koneksi.php";
//$idh = $_POST['idh'];
$query = "SELECT tipe FROM kamera WHERE kebutuhan='pemula'";
$result = mysql_query($query) or die ('Error');
while ($data = mysql_fetch_array($result)){
echo "<td width=25%>$data[0]</td>
<td><input type='text' name='d".$d."' id='d".$d."' size=1 maxlength=1></td>
</tr>";
$d++;
}
?>
<tr>
<td colspan="4">
<center>
<p class="no-border">
<input class="button" type="submit" name="Submit" value="Submit" tabindex="5" />
</p>
</center>
</td>
</tr>
</table>