You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
alex_anderr
$arr = ( [0] => 19 [id] => 19 [1] => 2 [two_id] => 2 [2] => 42 [three_id] => 42 );
( [0] => 20 [id] => 20 [1] => 2 [two_id] => 2 [2] => 43 [three_id] => 43 );
( [0] => 21 [id] => 21 [1] => 2 [two_id] => 2 [2] => 44 [three_id] => 44 );
В массиве представляю информацию как-то так.
Массив взят из таблицы mysql, где id, two_id, three_id столбцы.
Как получить все значения [three_id] или [2]?
не могу понять цикл foreach, уже много дней пытаюсь, но не могу
Сенкью )
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.