0

How can i print all the Elements from associative Array in PHP using For Loop ??

Not from ForEach loop JUST for Loop ?

2nd Sep 2019, 6:55 AM
Parveen Kumar
Parveen Kumar - avatar
1 Respuesta
+ 1
The closest thing I could think of to try was to first collect the array's keys (using array_keys()) then use a for-loop to reference the value having the keys at hand. How are you doing this? can you show your code so far?
2nd Sep 2019, 9:16 AM
Ipang