Re: Arrays and Sections

From: Date: Mon, 31 Dec 2001 14:25:05 +0000
Subject: Re: Arrays and Sections
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2450@lists.php.net to get a copy of this message
On Sun, 30 Dec 2001 10:10:42 -0800 "Chris Hubbard" <chris@wildcharacters.com> wrote: > All, > OK, I'm stuck. > I've got a simple table > status // table name > status_id INT(10) auto_increment // table index > status_name varchar (50) > > And I want to display the values in the table to the browser. The values currently are: > status_id status_name > 1 Open > 2 Closed > 3 Assigned > Attempt 4 {section name=i loop=$data} {$i.index} - <b>{$i.status_name}</b><br> {sectionelse} there are no values to loop through {/section}

« previous php.smarty.general (#2450) next »