Search found 2 matches

by NateFurtwangler
Sat Jul 17, 2004 12:01 pm
Forum: PHP - Code
Topic: Reading from a dynamic amount of text boxes
Replies: 10
Views: 1100

Try using print_r($EDID) or print_r($ID) to see the array structure of those two objects, and then from there you should be able to figure out what you need to do to extract the actual data you want.
by NateFurtwangler
Thu Jul 15, 2004 11:15 am
Forum: PHP - Code
Topic: Reading from a dynamic amount of text boxes
Replies: 10
Views: 1100

Reading from dynamic amount of textboxes

As for the first part, it seems like you really don't need to know which ID's are being updated/submitted. You could just foreach through $_POST (and filter for submit button etc so you're only looking at form data) and add each response to an array variable. For instance, <?php $scores = array(); f...