Re: Re:javascript to php

From: Date: Fri, 30 Mar 2001 00:15:57 +0000
Subject: Re: Re:javascript to php
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-46194@lists.php.net to get a copy of this message
i know for multiple type values you can pass an array of info like this: <input type="text" name="array[]"> someone also recently posted something about this and passing an array; try a search for that... the other possibility is to just pass a long string with | as separators then explode it later on before you submit... like perl, TMTOWTDI -jack cam k wrote: > > thanks, I found the discussions. How do I pass one large array?? As a > hidden input type on a form? > "Jack Dempsey" <dempsejn@georgetown.edu> wrote in message > news:3AC3C980.51957E70@georgetown.edu... > > You could use sessions with arrays...there's been a discussion recently > > about arrays in sessions, and some good sample code...checkout the list > > archives... > > if you didn't want to use sessions you could just keep passing one large > > array to your different php scripts and then passing that into your > > database at the end when you're done... > > > > -jack > > > > cam k wrote: > > > > > > what exactly are you trying to do? pass variables to a php script? then > > > use a form with POST or GET...not that simple? describe better what > > > you're doing then... > > > > > > -jack > > > > > > cam k wrote: > > > > > > ok, I'll explain this a little better, bear with me. I have several > forms > > > in different frames and one particular form being filled out many times. > I > > > want to be able to submit all the data at once to the database to tie it > to > > > a unique invoice number generated only on submission. So I need to > somehow > > > store the data until ready to submit. I was thinking of using javascript > or > > > arrays as session variables... > > > > > > not sure though > > > > > > -- > > > 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 > > > > -- > > 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 > > > > -- > 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 (#46194) next »