i have a page that returns a bunch of rows with some data from a query.
i've added an input box to the row along with a counter (input type="text" name="text<?=$counter; ?>") so that when the page loads, all the textboxes that appear become part of an array (text1, text2 and so on)
when the page loads, the rows are populated with data, except for these input boxes which are empty.
the user then selectes whatever rows are required (lets say 1,3 and 5) and enters data in these empty inputboxes, then submits the page
the next bit is what i can't get working:
a new page opens displaying the rows that were selected in the previous page. i also want to echo the contents of the input boxes from the rows that were selected
if i was echoing all the results, i could echo the array one by one, but here's the tricky bit: the rows selected (i.e. the input boxes that have data) are not 1,,3,4, etc... they can be any! so i need to figure out which array items have data and display them
i would really appreciate any pointers (with syntax, as i'm new to php)
thanks very much
jg