I met problem, that, I believe, you can help me with.
I have next array:
JSON:
{
"1":{
"01:00":"1",
"02:00":""
},
"2":{
"01:00":"3",
"02:00":""
},
"3":{
"01:00":"23",
"02:00":""
},
"4":{
"01:00":"234",
"02:00":""
},
"5":{
"01:00":"234",
"02:00":""
},
"6":{
"01:00":"",
"02:00":""
},
"7":{
"01:00":"",
"02:00":""
}
}
PHP:
array (
1 => array ( '01:00' => '1', '02:00' => '', ),
2 => array ( '01:00' => '3', '02:00' => '', ),
3 => array ( '01:00' => '23', '02:00' => '', ),
4 => array ( '01:00' => '234', '02:00' => '', ),
5 => array ( '01:00' => '234', '02:00' => '', ),
6 => array ( '01:00' => '', '02:00' => '', ),
7 => array ( '01:00' => '', '02:00' => '', ),
)
I am trying to put right values to right places, but I am at dead end :(
Can you help me with the table generator for this array.
It should look like this with values in inputs:

First line is quite static:
echo "<table><tr>";
for ($i = 0; $i < 8; $i++) {
echo "<td>$days[$i]</td>";
}
echo "</tr>";
And then problems starts.
$days = array ( '01:00' => array ('1','3','23','234','234','',''), '02:00=> array ('','','','','','',''));and thanforeach ($days as $hours) { echo "<table><tr><td>" . implode("</td><td>", $hours) . "</td></tr></table>"; }