echo "Please fill the form"; } ?> <form action="car_employee_presentation.php" method="post"> Name: <input type="text" name="name"/> <br><br> Designation: <input type="text" name="desig"/> <br><br> Salary: <input type="text" name="salary"/> <br><br> Car Name: <select name="car"> <?php $db->dropdown(); //$db->close(); ?> </select> <br><br> Your Car: <input type="text" name="carname"/><br><br> Model: <input type="text" name="model"/> <button type="submit">Submit</button> </form> </body> </html>