Hey all.
I have some fields being delivered via POST.. One of the fields is numberTeam, which tells me how many phoneNumber's I'll have (Another field being delivered).
So I'd like to do something like this:
for($i=1;$i<=$numberTeam;$i++){
$phoneNumber'$i' = $_POST['phoneNumber$i'];
}
But I'm not sure of the syntax for how to access that $i variable.. I know it can be done, I've seen it.. But I just can't find it now![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Any help would be great..
Thanks
David
I have some fields being delivered via POST.. One of the fields is numberTeam, which tells me how many phoneNumber's I'll have (Another field being delivered).
So I'd like to do something like this:
for($i=1;$i<=$numberTeam;$i++){
$phoneNumber'$i' = $_POST['phoneNumber$i'];
}
But I'm not sure of the syntax for how to access that $i variable.. I know it can be done, I've seen it.. But I just can't find it now
Any help would be great..
Thanks
David