how to print an associative array that has unknown keys in a section?
| From: | Oguz Altun | Date: | Mon, 30 Apr 2001 04:54:32 +0000 |
| Subject: | how to print an associative array that has unknown keys in a section? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-649@lists.php.net to get a copy of this message | ||
I want to print an associative array that is constructed on run time in a
section.
Because its constructed on run time, I know neither its keys, nor its
values. I couldn't see how to print both the keys and values of this array
in docs.
I know I can cut it into two parallel arrays and loop on one of them, but
that seems unnecessary work.
thanks.