PHP Progmm
PHP Progmm
php
include 'db.php';
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$animal_id = $_POST['animal_id'];
$date = $_POST['date'];
$quantity = $_POST['quantity'];
$fat_content = $_POST['fat_content'];
$quality_score = $_POST['quality_score'];
} else {
?>
<form method="POST">
<button type="submit">Submit</button>
</form>