Re: [PHP] Re: From form to an array

2003-11-18 Thread Curt Zirzow
* Thus wrote Jeff McKeon ([EMAIL PROTECTED]): Form two has 2 fields for every line and the fields need to be kept in separate arrays. /* form2.php */ form action=?PHP Echo $_SERVER['PHP_SELF'] ? method=POST input type=hidden name=tiers value=?PHP ECHO $_POST['form1info'] ?

RE: [PHP] Re: From form to an array

2003-11-17 Thread Jeff McKeon
DvDmanDT wrote: Hmm... Intresting... Like... Hmm.. Name the elements of the second form like input name=array1[LINE_NUM] input name=array2[LINE_NUM] Then turn on register_globals, then you'll very automaticly have $array1 and $array2.. Sorry register_globals are off and not getting turned

RE: [PHP] Re: From form to an array

2003-11-17 Thread Jay Blanchard
[snip] Ok, now on submit of this second form I want to take field1 from each line and put it into $array1 and field2 from each line and put it into $arrray2. [/snip] Form 1's info would have to be held as hidden fields in Form 2's construction. An example ... /* formOne.php */ form

RE: [PHP] Re: From form to an array

2003-11-17 Thread Jeff McKeon
Jay Blanchard wrote: [snip] Ok, now on submit of this second form I want to take field1 from each line and put it into $array1 and field2 from each line and put it into $arrray2. [/snip] Form 1's info would have to be held as hidden fields in Form 2's construction. An example ... /*