Hi guys


PHP Code:
 $iCurrent time();
for(
$iDays 1$iDays <= 60$iDays++)
{

$thedate date('Y-m-d 00:00:00'$iCurrent += 86400);
$sql mysql_query("SELECT * FROM dates WHERE Start='$thedate' ");
$number mysql_num_rows($result);



    
$temp_array[] = date('D M dS, Y'$iCurrent += 86400),;
}





$smarty->assign("array",$temp_array);

$smarty->display("chooseday.tpl");







How can I pass $number along with the array ($temp_array[] ) to smarty?


Regards


Chris