print array without index-value lines

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP

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





Use mysqli_fetch_assoc().
– vivek_23
8 mins ago









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.

Comments

Popular posts from this blog

Executable numpy error

Trying to Print Gridster Items to PDF without overlapping contents

Mass disable jenkins jobs