Re: Passing an array as a hidden variable
| From: | Robert Cummings | Date: | Sat, 12 May 2007 04:57:28 +0000 |
| Subject: | Re: Passing an array as a hidden variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254840@lists.php.net to get a copy of this message | ||
On Fri, 2007-05-11 at 21:53 -0700, Todd Cary wrote:
> When I use the following syntax, the 2 dimensional array loses
> it's contents. Can an array be passed this way?
>
> <? echo '<input type="hidden" name="attend_ary_save"
> value=' .
> $attend_ary_save .'>'; ?>
No! RTFM!
http://www.php.net/manual/en/language.types.type-juggling.php
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'