RE: [PHP] generating arrays using $_REQUEST/$_GET/$_POST

2004-01-22 Thread Matt Matijevich
echo ""; $Student = array ("albert Einstein", "Ivan the Terrible", "Napolon", "Simon Bolivar", "Issac Newton"); while(list(,$name)=each($Student)){ echo "what grade did $name get in Maths?"; echo""; echo " Grade A Grade B

Re: [PHP] generating arrays using $_REQUEST/$_GET/$_POST

2004-01-22 Thread Matt Matijevich
I am having problems generating an array based on data passed from a form. The form has a series of fields with the same name "math". When submited if i have register_globals=on i have no problems calling a $math variable and it spits out all the values assigned to math, however with register_glob

[PHP] generating arrays using $_REQUEST/$_GET/$_POST

2004-01-22 Thread Tristan Gutsche
Hello, I am having problems generating an array based on data passed from a form. The form has a series of fields with the same name "math". When submited if i have register_globals=on i have no problems calling a $math variable and it spits out all the values assigned to math, however with regist