3
Anonymous
89 x views • 3 years ago
<?php
}elseif ($_GET['aksi']=='tambah'){
?>
<form action='' method="POST" enctype='multipart/form-data'>
<label>NIS</label>
<input type="text" name="a"><br>
<label>Nama Siswa</label>
<input type="text" name="b"><br>
<label>Jenis Kelamin</label>
<input type="text" name="c"><br>
<label>Alamat</label>
input type="text" name="d"><br>
<label>Foto Siswa</label>
<input type="file" name="e"><br>
<button type="submit" name="simpan">Simpan</button>
}elseif ($_GET['aksi']=='tambah'){
?>
<form action='' method="POST" enctype='multipart/form-data'>
<label>NIS</label>
<input type="text" name="a"><br>
<label>Nama Siswa</label>
<input type="text" name="b"><br>
<label>Jenis Kelamin</label>
<input type="text" name="c"><br>
<label>Alamat</label>
input type="text" name="d"><br>
<label>Foto Siswa</label>
<input type="file" name="e"><br>
<button type="submit" name="simpan">Simpan</button>