Hi
Ive wrote a form for inputing data and used java script to make the form dynamic to various individuals needs.
The idea is you fill in your time sheet for a week and use as many boxes as you will need.
obviously some might need 7 for each day of week others may need less.
thus this form
http://storm.sorrowmaster.com/inputform.html
but when i process the form by clicking submit i would like it to handle more than just the first set of data.
<?php
for($i = 0; $i < $_GET['hnumber']; $i++) {
print "$txtdate1 $txtstart1 $txtfinish1 $txtnormalhours1 $txtovertime1 $code1 $txtjobno1 $txtdescription1";
}
?>
this is the php i use for the page after the submit button is pressed.
it only displayed the first row and none of the subsequent ones.
the next row is obviously txtdate2, txtfinishdate2 etc etc
i added some javascript to show the keypress and the name of the box the cursor is currently in to help with any questions.
Im just trying to make it more flexible to display all the data no matter the number of rows.
thanks in advance
Big Al