Hi all i need some help in solving 3 homework assignments that are due on friday.
1) Create a link with functions
2) Create a form functions
3) Create an array for the average age of 10 people = for this we were given a syntax with the persons first name, last name and age. the profesor said we needed to investigate how to divide this so that we can get the average age for all 10 people.
now the problem is that due to a foot injury i was unable to attend class for about 2 to 3 weeks so i'm a little behind in class and still learning php after loving C, Visual Basic and C++ where i had already learned about arrays, and funciones and i already had an understanding of links due to my previous experience with HTML in fรณrums.
for the first problem i found this: http://board.phpbuilder.com/showthread.php?10324957-Using-hyperlink-to-call-php-function
i'm guessing this is what i need to do the first problem correct?
but for the second problem the page that was redirected from this fรณrum was not loading so i don't have anything to go by.
for the third problem what do i need to do to divide the syntax in order to find the average age. it sounds like i need to take the array and have it sum up the age of the 10 people and then have it display the average age which is (total age divided by 10).