Php foreach code | SoloLearn: Learn to code for FREE!

0

Php foreach code

i don't know how to print only values from an array in a multidimensional associative array. i'm trying with a foreach, but it prints every values of every array. can someone explain me how? ^^ if you need the code, i will post it. thanks

php

10/30/2017 6:18:23 AM

T. Rex (darkfire)

6 Answers

New Answer

0

i also tried with $print_r, but it gives me error about parsing array to string? i'm sorry, i'm new to this language, ^^"

0

w3school and stackoverflow == bible of programmer 😁😂

0

You can use var_dump($arr)

0

i solve the problem, just using foreach