Thank you so much. My teacher has gotten me so confused I don't know what I'm doing anymore.
QUOTE(pertheusual @ 26 Mar, 2008 - 08:20 PM)

What are you using to submit the values to the php? Are you just typing them in the address bar?(Covered by no2pencil)
You might want to consider using "$_GET" instead of $_REQUEST.
Anyway, the main thing I see is that you don't actually have it printing "$avg", "$lname" or "$lg" anywhere. You also pass $avg to the test functions for some reason, when those functions have no inputs.
Your fname function also won't work because $fname is not global. Put "global $fname;" in your fname function.
Really though, you should just have a few print statements in the main section. You only really need the functions to calculate the average and letter grade.
Per