We have got a frontend for our website.
The only thing is that the webmaster is non-reachable and i was hoping someone else could help me with the problem.
Im getting an error on line 61
here's the code:
$unitmonth = substr($dbGet['datum'],5,2);
$unitday = substr($dbGet['datum'],8,2);
$unittime = substr($dbGet['datum'],-5);
$unit[$unityear][$unitmonth]['datum'] = $dbGet['datum'];
$unit[$unityear][$unitmonth]['uppdragsnr'] = $dbGet['uppdragnr'];
$unit[$unityear][$unitmonth]['namn'] = $dbGet['person'];
$unit[$unityear][$unitmonth]['status'] = $dbGet['status'];
$unit[$unityear][$unitmonth]['text'] = $dbGet['text'];
}
foreach ($unit as $key1)
{
foreach ($unit[$key1] as $key2) <--- Line 61
{
foreach ($unit[$key1][$key2] as $key3 => $value3)
{
echo ($key1.'-'.$key2.'-'.$key3.' :: '.$value3.'<br>');
}
}
}
/*
echo('<table width="100%" cellpadding="2" cellspacing="0" border="0">');
echo('<br>YEAR: '.$year);
echo('<br>MONTH: '.$month);
echo('<br>DAY: '.$day);
echo('<br>TIME: '.$time);
echo('<tr>');
echo('<td>'.$dbGet['uppdragnr'].'</td>');
echo('<td>'.$dbGet['datum'].'</td>');
echo('<td><a href="">'.$dbGet['person'].'</a></td>');
echo('<td>'.$dbGet['status'].'</td>');
echo('</tr>');
echo('</table>');
*/
?>
</td>
</tr>
</table>
</body>
</html>