Re: POST arrays?

From: Date: Thu, 20 Apr 2006 10:58:55 +0000
Subject: Re: POST arrays?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-234348@lists.php.net to get a copy of this message
No other way? "Stut" <stuttle@gmail.com> kirjoitti viestissä:44476655.8070900@gmail.com... > William Stokes wrote: > >>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? >> > > http://php.net/serialize > > -Stut

« previous php.general (#234348) next »