joe.attaboy
New member
Use a foreach loop on the existing array:
$newarray = array();
foreach ($favilst as $item) {
array_push($newarray,$item)]
}
print_r($newarray);
You should see the array listing the way you want it.
$newarray = array();
foreach ($favilst as $item) {
array_push($newarray,$item)]
}
print_r($newarray);
You should see the array listing the way you want it.