Php converts one-dimensional data to multiple dimensions. Today, I saw a friend's demand in the forum. I witnessed that all csdn moderators are cool !!! Save it for later use. The string is: I saw a friend's demand in the forum today. I have witnessed that csdn moderators are not really cool roles !!! Save it for later use.
String:
<喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHByZSBjbGFzcz0 = "brush: java;"> 1 = Optical Mouse 2 = Mechanical Mouse 3 = no mouse 1.1 = Black optical mouse 1.2 = red optical mouse 1.2.1 = Bluetooth red Optical Mouse
The moderator's answer is:
$ Txt, 'Child '=> array (); $ p = & $ p [$ v] ['child'] ;}} print_r ($ res);?>
The printed array is:
Array ([1] => Array ([txt] => photoelectric mouse [child] => Array ([1] => Array ([txt] => Black photoelectric mouse [child] => Array ()) [2] => Array ([txt] => Red photoelectric mouse [child] => Array ([1] => Array ([txt] => Bluetooth red photoelectric mouse [child] => Array ()))))) [2] => Array ([txt] => mechanical mouse [child] => Array ()) [3] => Array ([txt] => no mouse [child] => Array ()))
I laughed at these comments:
SUCCESS !!! Save it for later use. String :...