If you want to access dynamic variable names in Smarty and cannot use arrays for any reason, you can use a Smarty var nested in another Smarty var.

Example:

</pre>
{foreach from=$workingDays item = item name=workingDaysList}
{$date_{$item}}
{/foreach}
<pre>

Output is the value of the $date_xxxx variable you set in PHP before, e.g. $date_monday.

  [email protected]