Created
May 23, 2017 05:24
-
-
Save kalvian1060/5e709f51e81d9d8e45f6e3fd61f6be64 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
include"koneksi.php"; | |
$id = $_GET['id']; | |
$q = "select * from user where No = $id"; | |
$h = mysql_query($q); | |
$row=mysql_fetch_array($h); | |
?> | |
<form method=post action=prosesedit.php> | |
<input type=hidden name="id" value="<?echo $row['No'];?>"> | |
<table width="200" border="1"> | |
<tr><br /> | |
<td> </td> | |
<td>Edit Form </td> | |
</tr> | |
<tr> | |
<td>Nama</td> | |
<td><input type="text" name="nama_edit" value="<?echo $row['Nama'];?>" /></td> | |
</tr> | |
<tr> | |
<td>Alamat</td> | |
<td><input type="text" name="alamat_edit" value="<?echo $row['Alamat'];?>" /></td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td><input name="submit" type="submit" value="Edit" /> <input name="reset" type="reset" value="reset" /></td> | |
</tr> | |
</table> | |
<br> | |
</form> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment