PHP + Smarty question.
| From: | Alexander Deruwe | Date: | Tue, 18 Dec 2001 10:36:38 +0000 |
| Subject: | PHP + Smarty question. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78055@lists.php.net to get a copy of this message | ||
Using Smarty templates (it is my guess this question is valid for other
template engines aswell), is there a way to pass an array to the
template, then stuff it in a hidden form field and retrieve it in
another PHP source file as an array?
is_array() does not seem to detect the object is an array, and thus my
code creates it anew.
Basically what I am trying to do is add new stuff to the array, after it
has been passed to the template and back into the script.
Thanks,
(please CC me in replies because I no longer subscribe to php-general
due to too much traffic..)
--
Alexander Deruwe (aderuwe@aqs-carcontrol.be)
AQS-CarControl