php - Convert such this array into variables -
I have this array in PHP, how can I convert one
and two Can i
and three
in each of the variables (I just pasted the array before the items
)
Array ([encoding] = & Gt; UTF-8 [Title] = & gt; Arrays [Link] => arrays.com [Item] => Array ([0] => Hey ([one] = & gt; This is one [two] = & gt; arrays.com [three] => here is my array) [items_count] => 100 [cached] => 0)
You can use PHP function:
extract ($ Array ['items'] [0]);
Comments
Post a Comment