0

Keys and elements in array

pls, help! i don't know how use foreach to arrays Given an array $arr with the keys 'Kolya', 'Vasya', 'Petya' and elements '200', '300', '400'. Use the foreach loop to display a column of rows in this format: 'Kolya-salary 200 dollars.'

2nd Aug 2020, 6:51 AM
Obee
Obee - avatar
2 odpowiedzi
+ 1
thx)
2nd Aug 2020, 9:11 AM
Obee
Obee - avatar