We want to add the following functions to the program.php page
getAllBodyParts() - This will return an associative array with the id being id and the name being the key.
getAllInjuries() - This will return an associative array with the id being id and the name being the key.
getAllSports() - This will return an associative array with the id being id and the name being the key.
getAllOccuations() - This will return an associative array with the id being id and the name being the key.
getAllSportsAndOccurations - This will return an associative array with the id being id and the name being the key.
The tables which these are drawn from can be found in the filtering.php function file right now.
We want to add the following functions to the program.php page
getAllBodyParts() - This will return an associative array with the id being id and the name being the key. getAllInjuries() - This will return an associative array with the id being id and the name being the key. getAllSports() - This will return an associative array with the id being id and the name being the key. getAllOccuations() - This will return an associative array with the id being id and the name being the key. getAllSportsAndOccurations - This will return an associative array with the id being id and the name being the key. The tables which these are drawn from can be found in the filtering.php function file right now.