cara membuat input data
<html>
<head>
<title>Data Siswa</title>
</head>
<body background="dorayaki.jpg">
<h3><font size="10" face="Arial"><center>Data Siswa</center></font></h3>
<table border='0'>
<form action='tambah.php'>
<tr>
<td><font size="5">Nama</font></td>
<td>:</td>
<td><input type='text' name='nama' length='50'></td>
</tr>
<tr>
<td><font size="5">Kelas</font></td>
<td>:</td>
<td><input type='text' name='kelas' maxlength='50'></td>
<tr><br></br>
<<td><font size="5">NIS</font></td>
<td>:</td>
<td><input type='text' name='NIS' maxlength='50'></td>
</tr><br></br>
<tr>
<td><font size="5">Alamat</font></td>
<td>:</td>
<td><textarea name="alamat" rows="5" cols="30"></textarea></td>
</tr>
<tr>
<td colspan='3'><input type='submit' value='Simpan'></td>
</tr>
</form>
</table>
</body>
</html>
hasil
Tidak ada komentar:
Posting Komentar