This is my select option php source code.
<select name="type">
<?php
$result=mysqli_query($conn, "select * from bill_type");
while ($row=mysqli_fetch_Array($result)){
?>
<option value="select type">Select Type</option>
<option value="<?php echo $rows['name'];?>"><?php echo $rows['name'];?></option>
<?php
}
?>
</select>
Anyone one can highlight the error.
I want to show the data from database in option form
2