Hi All,
I have an array which is like this
Array
(
[0] => Array
(
[cat] => 17
[sub] => 143
[prod] => Contest : Apple Iphone 4SContest :Pay & get a chance to win
)
[1] => Array
(
[cat] => 17
[sub] => 143
[prod] => Contest : Apple Iphone 4SContest :Pay & get a chance to win
)
[2] => Array
(
[cat] => 17
[sub] => 143
[prod] => Contest : Apple Iphone 4SContest :Pay & get a chance to win
)
[3] => Array
(
[cat] => 17
[sub] => 143
[prod] => Contest : Apple Iphone 4SContest :Pay & get a chance to win
)
[4] => Array
(
[cat] => 13
[sub] => 78
[prod] => Purple Synthetic Silk Saree with Embroidery
)
[5] => Array
(
[cat] => 5
[sub] => 21
[prod] => Crush Saree with Fancy Border - Red
)
[6] => Array
(
[cat] => 17
[sub] => 74
[prod] => Contest : HTC One X :Pay & get a chance to win
)
[7] => Array
(
[cat] => 17
[sub] => 74
[prod] => Contest : Samsung Galaxy S3 :Pay & get a chance to win
)
[8] => Array
(
[cat] => 17
[sub] => 143
[prod] => Contest : Apple Iphone 4SContest :Pay & get a chance to win
)
[9] => Array
(
[cat] =>
[sub] =>
[prod] => Contest : Petrol worth 2500 :Pay & get a chance to win
)
[10] => Array
(
[cat] => 57
[sub] => 202
[prod] => Mercedes-Benz Series - Welly Collection
)
i want the out put in this format..
cat subcat prod
17 143 contest..
73 xyz
5 21 pqr
please can any one help...