customize drop down box

Zedxxuwduhtd

New Member
This is my array. i want to make a multiple select box using this array where options will look like a chain.\[code\]Array( [0] => Array ( [category_id] => 1 [parent_category_id] => 0 [category_title] => P1 [category_status] => A ) [1] => Array ( [category_id] => 3 [parent_category_id] => 1 [category_title] => P11 [category_status] => A ) [2] => Array ( [category_id] => 6 [parent_category_id] => 3 [category_title] => P22 [category_status] => A ) [3] => Array ( [category_id] => 4 [parent_category_id] => 1 [category_title] => P12 [category_status] => A ) [4] => Array ( [category_id] => 7 [parent_category_id] => 4 [category_title] => P121 [category_status] => A ) [5] => Array ( [category_id] => 8 [parent_category_id] => 4 [category_title] => P122 [category_status] => A ) [6] => Array ( [category_id] => 2 [parent_category_id] => 0 [category_title] => P2 [category_status] => A ) [7] => Array ( [category_id] => 5 [parent_category_id] => 2 [category_title] => P21 [category_status] => A ))\[/code\]eg:- i want my select box look like this\[code\] P1 P11 P22 P12 P121 P122 P2 P21\[/code\]like the above giving space or any other method. i dont know how to explain this more clearly.thanks.
 
Back
Top