Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
PHP: implode with foreach loops
<?PHP $arr=array(array(array('task_id'=>1)), array(array('task_id'=>28), array('task_id'=>43), array('task_id'=>44)) ); foreach ($arr as $k1 => $a1) foreach ($a1 as $a2) $barr[$k1][]=$a2['task_id']; print_r($barr); ?>
run
|
edit
|
history
|
help
0
Add_adress
nu
PHP - pass by reference & a function that accepts an unspecified number of parameters.
DEV
mmd
Todos los días de la semana
Problem: on_off
aa
J
Problem Name: single_digit