pre Array Array id_item id_parent title work order_num children Array

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
<pre>Array
(
[1] => Array
(
[id_item] => 1
[id_parent] => 0
[title] => work
[order_num] => 1
[children] => Array
(
[1] => Array
(
[id_item] => 4
[id_parent] => 1
[title] => webserver
[order_num] => 1
[children] => Array
(
[1] => Array
(
[id_item] => 7
[id_parent] => 4
[title] => data
[order_num] => 1
[children] => Array
(
[1] => Array
(
[id_item] => 9
[id_parent] => 7
[title] => png.lo
[order_num] => 1
)
)
)
[2] => Array
(
[id_item] => 8
[id_parent] => 4
[title] => logs
[order_num] => 2
)
)
)
[2] => Array
(
[id_item] => 5
[id_parent] => 1
[title] => multimedia
[order_num] => 2
)
[3] => Array
(
[id_item] => 6
[id_parent] => 1
[title] => software
[order_num] => 3
)
)
)
[2] => Array
(
[id_item] => 2
[id_parent] => 0
[title] => home
[order_num] => 2
)
[3] => Array
(
[id_item] => 3
[id_parent] => 0
[title] => media
[order_num] => 3
)
)
</pre>
<div style="padding-left: 25px;">
1 - work<br /><div style="padding-left: 25px;">
4 - webserver<br /><div style="padding-left: 25px;">
7 - data<br /><div style="padding-left: 25px;">
9 - png.lo<br />
</div>
8 - logs<br />
</div>
5 - multimedia<br />6 - software<br />
</div>
2 - home<br />3 - media<br />
</div>
<?xml version="1.0"?>
<h1>My Title</h1><h2>Author</h2>