print array without index-value lines


print array without index-value lines
print "<pre>";
print_r($arr);
print "</pre>";
Result:
Array
(
[0] => Array
(
[home_id] => 51
[0] => 51
[home_what] => bann
[1] => bann
[home_artid] =>
[2] =>
[home_bannid] => 27
[3] => 27
)
[1] => Array
(. . . etc
How to get the result without index - value
lines?
Like this:
index - value
[home_id] => 51
[home_what] => bann
[home_artid] =>
[home_bannid] => 27
lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Use mysqli_fetch_assoc().
– vivek_23
8 mins ago