php将数组格式转换为数组

时间:2013-11-27 09:09:02

标签: arrays format

我在数据库中有一个数组格式,我想将其转换为array():

$productORG = "(
[0] => Array
    (
        [name] => Fashion Style Stand Collar Multi-Zipper Embellished PU Leather Jacket For Men
        [code] => 1
        [qty] => 1
        [price] => 21.54
    )

[1] => Array
    (
        [name] => Fashion Style Solid Color Turndown Collar Side Single-Breasted Long Sleeves Woolen Coat For Men
        [code] => 2
        [qty] => 1
        [price] => 2
    )

)";

它是一些文字 我想转换为数组值.... 例如:

   print_r($productORG);

谢谢

0 个答案:

没有答案