I am trying to recieve information from another page but the form fields are numberered automaically. here is the sending page code
$i=1;
foreach($something as $this) {
$output = blah,blah...
$output = blah,blah...
$output = blah,blah...
$output = blah,blah...
$output = '<input type="text" name="name_$i">';
$output = blah,blah...
$output = blah,blah...
$output = blah,blah...
$output = blah,blah...
$output = blah,blah...
$i++;
}
as you can see I know what name_1 field is but how do i get name_(last).
Does anyone have any information on this or can you give me a pointer for php.net