|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
virgil Smarty n00b
Joined: 16 Jul 2003 Posts: 3
|
Posted: Wed Jul 16, 2003 1:42 pm Post subject: html_table parsing an assoc array 2D |
|
|
I'm squizing my brains out for this one.
I have this array with 16 iterations:
Code: |
while($row = $result->fetchrow(DB_FETCHMODE_ASSOC )){
$dvd[] = array( "id" => $row["id"],
"name" => $row["name"],
"email" => $row["email"]
);
}
|
And I want to parse this array into a table with 4 cols using html_table like:
Code: |
{html_table cols=4 loop=$dvd} //This is not working
|
Please show me the light! _________________ Virgil Iancu |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|