?html>
?head>
?title>Hapus Data Pasien?/title>
?meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
?/head>
?body>
?form action = "hapuspasien.php" method= "post" name= "formhapuspasien" enctype= "multipart/form-data">
?tr>?td align="right"> Kode Pasien: ?/td>
?td>?select name = 'combocaripasien'>
??php
include ("koneksi.php");
mysql_select_db("db_klinikduta", $koneksi);
$ambildata = mysql_query("select * from dokter")
or die(mysql_error());
$jmlpasien = mysql_num_rows($ambildata);
for ($i = 1; $i ?= $jmlpasien; $i++){
$baris_data = mysql_fetch_array($ambildata);
echo "?option value = $baris_data[kd_pasien]> $baris_data[kd_pasien]";
echo "?/option>" ;
}
?>
?/select>?/td>?/tr>
?input name ="tombolcari" type="submit" value="cari">
?hr>
?/form>
?/body>
?/html>
0 comments:
Post a Comment