I'm new and I've tried to search around the web to learn how to do this in smarty. I want to get all the Emails to be wrote out in one long variable in smarty.
My Smarty Foreach:
Code: Select all
{foreach from=$items item=entry}
All the values for every item.....
{/foreach}
Code: Select all
$AllEmail = $AllEmail;
while($row = mysql_fetch_array($result))
{
$AllEmail = $AllEmail . $row['email'].",";
};
