0

i have created csv of order item and i am getting row like this now how i create rows in csv 2 rows if 2 item in order

Array
(
    [0] => 2017-01-09 09:59:31
    [1] => pending
    [2] => 100000009
    [3] => 
    [4] => hammad@aalogics.com
    [5] => Hammad Usmani
    [6] => 45.116.232.51
    [7] => Gulshan
    [8] => Gulshan
    [9] => Karachi
    [10] => 
    [11] => 87520
    [12] => Pakistan
    [13] => 3344556720
    [14] => AALOGICS
    [15] => Flat Rate - Fixed
    [16] => 5.00
    [17] => Gulshan
    [18] => Gulshan
    [19] => Karachi
    [20] => 
    [21] => 87520
    [22] => Pakistan
    [23] => 3344556720
    [24] => AALOGICS
    [25] => 
    [26] => 1.89
    [27] => 0.0000
    [28] => 0.00
    [29] => 6.89
    [30] => 
    [31] => 
    [32] => Array
        (
            [0] => Array
                (
                    [0] => New Balance N9119L Ladies Tempo Long-Sleeve Performance T-Shirt
                )

            [1] => Array
                (
                    [0] => Gildan G500 Heavy Cotton 5.3 oz. T-Shirt
                )

        )

)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.