Re: POST arrays?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/20/06, William Stokes <kalles@xxxxxxxxxxxxx> wrote:
> Hello,
>
> How to post an array with associated values?
>
> This works ok
>
> <?php
> $arr_siirto = array(1,2,3);
> print_r($arr_siirto);
>
> $arse = $arr_siirto;
> print_r($arse);
> ?>
>
> But if I post it to another form with this:
>
> <input type="hidden" name="arr_siirt_jouk" value="<?php echo "$arse";?>">
>
> And print there with:
>
> print_r($arr_siirt_jouk);
>
> prints: Array
>
> So how can post the values forward?

Instead of posting the values forward, you could store it all in a
session and access it that way.

--
Postgresql & php tutorials
http://www.designmagick.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux