Need a little help using LoadVars

ok so, i have a php file which basically spits out all the rows of a mySQL table, in such a way…

&entry1name=whatever&;
&entry1age=whatever&;
&entry2name=whatever&;
&entry2age=whatever&;

&entryNname=whatever&;
&entryNage=whatever&;

where n is the size of the table.

ok, so in actionscript, i load those variables in just fine…and lets say its in myVars.

i can do trace(myVars.entry1name) just fine, but the thing is, i want to stick it in a loop, so it could trace out all of the entry NAMES (not the ages). but how do i do that? i tried doing…

trace(myVars[“entry” + i + “name”] where “i” is the increment in my for loop… but apparently you cant do this…

so how would i go about this?