width = "98%"; $table->class = "databox"; $table->head[0] = __('Description'); $table->head[1] = __('User'); $table->head[2] = __('Date'); $table->data = array(); if(isset($result['tracking'][0]) && is_array($result['tracking'][0])){ $tracking = $result['tracking']; } else { $tracking = $result; } $row = 0; foreach($tracking as $value) { $table->data[$row][0] = $value['description']; $table->data[$row][1] = $value['id_user']; $table->data[$row][2] = $value['timestamp']; $row++; } html_print_table($table); ?>