August 11, 2020

Mawan.my.id

Blog Mawan di DobelHost

tambah.php

<?php
	include("koneksi.php");
?>
<html>
<head>
	<title>Tambah</title>
	<link rel="stylesheet" type="text/css" href="gaya.css">
</head>

<body>
<?php
	include('menu.php');
?>

<p>Menambah satu record baru</p>

<form method="post" action="tambah2.php">
	<table class="tabel">
		<tr>
			<td>Username</td>
			<td><input type="text" name="username"></td>
		</tr>
		<tr>
			<td>Password</td>
			<td><input type="password" name="password"></td>
		</tr>
		<tr>
			<td>Nama lengkap</td>
			<td><input type="text" name="nama"></td>
		</tr>
		<tr>
			<td>Tangal lahir</td>
			<td><input type="date" name="lahir"></td>
		</tr>
		<tr>
			<td>Nilai</td>
			<td><input type="number" name="nilai" min="0" max="100"></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td><input type="submit" name="simpan" value="Simpan"></td>
		</tr>
	</table>
</form>
</body>
</html>

 

Leave a Reply

Your email address will not be published. Required fields are marked *