2
I am trying to print the data I have in the array. It works, I can see the data. My problem is that I want to print these various data inside the same div. As I have so prints only one value. And I won’t put the div in the foreach Otherwise you’ll do another div.
foreach($array_resultados as $key =>$value){
//echo "<label><b>".$value['title']."</b></label><br>";
}
echo
"<td class='cal_today'><b>
<div class =divtoday>
<br>".$value['title'] ."
</div>
</td>";
You closed the
foreach
before printing the values. And there is a spare key.– Franchesco