im trying to get a table of information to appear from a database of animal type, animal number and age to appear from what ever farm the user chooses from a database but nothing appears after a farm is chosen and cant figure out why.
here is my front end code:
CHOOSE FARM NUMBER FOR ANIMAL INFO:
Select farm number: Farm 1 Farm 2 Farm 3 Farm 4 Farm 5and here is my backend php:
table { width: 100%; border-collapse: collapse; }table, td, th {
border: 1px solid black;
padding: 5px;
}
th {text-align: left;}
animal type | animal number | age |
---|---|---|
" . $row['animal type'] . " | "; echo "" . $row['animal number'] . " | "; echo "" . $row[age'] . " | "; echo "