section question with simple arrays
| From: | Pablo | Date: | Thu, 26 Apr 2001 17:16:29 +0000 |
| Subject: | section question with simple arrays | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-595@lists.php.net to get a copy of this message | ||
I am doing the following:
<?php
...
$inner = array("this", "is", "the", "first", "row");
array_push($outer_array, $inner);
$inner = array("this", "is", "the", "second", "row");
array_push($outer_array, $inner);
$smarty->assign("record", $outer_array);
...
?>
How do I built a select that will go through each entry in $outer_array and then so an inner select that will show each entry in the inner array.
I am looking to create an output like so:
this is the first row this is the second rowAny ideas?