<?php $keys = array('mesic', 'den', 'hodina'); $row = array('1988'); $hlp = &$row['1988']; foreach($keys as $key) { $hlp[$key] = array(); $hlp = &$hlp[$key]; } var_dump($row);
You have javascript disabled. You will not be able to edit any code.