[ create a new paste ] login | about

Link: http://codepad.org/EmdBkpum    [ raw code | fork ]

PHP, pasted on Sep 3:
<?PHP

$array1 = array(
    1 => array(
        'options' => 1,
        'barcode' => '',
        'supplier' => 10,
        'topcat' => 'Fibre,1',
        'cat' => 'Acrylic,1',
        'range' => 'Clearance Chenille,14',
        'colour' => '',
        'type' => 'Ball',
        'option' => array(
            1 => array('type' => 'Ball', 'barcode' => '', 'length' => '', 'wpi' => '', 'dyeable' => '', 'feltable' => '', 'sold_weight' => '', 'gauge' => '', 'price' => '', 'pack_qty' => '', 'shipping_weight' => '', 'cost_price' => NULL),
        ),
        2 => array(
            'options' => 1,
            'barcode' => '',
            'supplier' => 10,
            'topcat' => 'Fibre,1',
            'cat' => 'Acrylic,1',
            'range' => 'Clearance Chenille,14',
            'colour' => '',
            'type' => 'Ball',
            'option' => array(
                1 => array(
                    'type' => 'Ball',
                    'barcode' => '',
                    'length' => '',
                    'wpi' => '',
                    'dyeable' => '',
                    'feltable' => '',
                    'sold_weight' => '',
                    'gauge' => '',
                    'price' => '',
                    'pack_qty' => '',
                    'shipping_weight' => '',
                    'cost_price' => NULL,
                    2 => array('type' => 'Ball', 'barcode' => '', 'length' => '', 'wpi' => '', 'dyeable' => '', 'feltable' => '', 'sold_weight' => '', 'gauge' => '', 'price' => '', 'pack_qty' => '', 'shipping_weight' => '', 'cost_price' => NULL),
                ),
            ),
        ),
    ),
);

$array2 = array(
    1 => array(
        1 => array(
            array('name' => '500aqua.jpg', 'type' => 'image/jpeg', 'tmp_name' => 'C:\\xampp\\tmp\\php6C70.tmp', 'error' => 0, 'size' => 133659),
        ),
    ),
    2 => array(
        1 => array(
            array('name' => '500beige.jpg', 'type' => 'image/jpeg', 'tmp_name' => 'C:\\xampp\\tmp\\php6C71.tmp', 'error' => 0, 'size' => 148940),
            array('name' => '500beige-zoom.jpg', 'type' => 'image/jpeg', 'tmp_name' => 'C:\\xampp\\tmp\\php6C72.tmp', 'error' => 0, 'size' => 211420),
        ),
        2 => array(
            array('name' => '500beige.jpg', 'type' => 'image/jpeg', 'tmp_name' => 'C:\\xampp\\tmp\\php6C83.tmp', 'error' => 0, 'size' => 148940),
            array('name' => '500beige-zoom.jpg', 'type' => 'image/jpeg', 'tmp_name' => 'C:\\xampp\\tmp\\php6C84.tmp', 'error' => 0, 'size' => 211420),
        ),
    ),
);


Output:
No errors or program output.


Create a new paste based on this one


Comments: