<pre>
tagsvar_export()
instead of var_dump()
DO THIS
1<pre><?php var_export($manufacturers); ?></pre>
and you’ll get this
array(1) {
[0]=>
array(1) {
[0]=>
array(5) {
["manufacturer_id"]=>
string(1) "8"
["name"]=>
string(5) "Apple"
["image"]=>
string(27) "catalog/demo/apple_logo.jpg"
["sort_order"]=>
string(1) "0"
["store_id"]=>
string(1) "0"
}
}
Instead of doing this
1<?php var_dump($manufacturers); ?>
and getting this
array(1) { [0]=> array(1) { [0]=> array(5) { ["manufacturer_id"]=> string(1) "8" ["name"]=> string(5) "Apple" ["image"]=> string(27) "catalog/demo/apple_logo.jpg" ["sort_order"]=> string(1) "0" ["store_id"]=> string(1) "0" } }