RE: [PHP] Passing associative arrays between forms

From: Date: Sat, 19 Aug 2000 07:56:51 +0000
Subject: RE: [PHP] Passing associative arrays between forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12430@lists.php.net to get a copy of this message
I am not sure how the implode() and explode() would help. Just keep them as arrays. Try something like: <input type=text name="array[element]" value="<?php echo $array['element']; ?>"> This may only work in PHP4. > -----Original Message----- > From: Paulson, Joseph V. "Jay" [mailto:jay.paulson@viatel.com] > Sent: Thursday, August 17, 2000 2:11 PM > To: php-general@lists.php.net > Subject: [PHP] Passing associative arrays between forms > > > Hey everyone-- > > I have a multiple page form (it's three pages long) and I am > trying to pass > an array between each form using the implode() and explode() functions. > However, I would like to keep the associative properties of the array I > create and not have to keep track of what position [0], > [1],...[99] are. Is > there any other way to pass array's between forms besides using the > implode() and explode() functions? > > I've already tried cookies but I have too many values for the browser to > handle (I have over 20 variables to pass between each form). Therefore, > cookies won't work. > > Any how, any help would be much appreciated!!! :) > > Thanks in advance... > Jay Paulson > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#12430) next »