hello i’m trying to do selectbox queries for my farm database and cant figure out the back end php. the farm database has two tables, FARM(FARMNUMBER,LOCATION,ACREAGE, FARMERNAME) and ANIMAL(ANIMALNUMBER,ANIMALTYPE,AGE,FARMNUMBER)
This is my front end html file:
Choose Farm Number:
Farm 1 Farm 2 Farm 3 Farm 4 Farm 5basiclly I need whatever option the user chooses the back end file will print a table of the animal number, animal type and age from whatever farmnumber the user chooses from the datebase in. As well as another frontend file that has a selectbox for an order by clause and a selectbox that chooses the results to be printed in a table either ascending or desending.
This would be really helping me out and thank you to whoever can help me.