+ 1

Help me to solve this error in php https://code.sololearn.com/wGSsrSbTM4jP/?ref=app

https://code.sololearn.com/wGSsrSbTM4jP/?ref=app

3rd Jun 2022, 3:21 AM
SUJAN
SUJAN - avatar
1 Answer
+ 1
If you mean the deprecated each() function, then you can simply use foreach() instead foreach( $loveArray as $key => $value ) { echo "$key : $value<br>"; }
3rd Jun 2022, 3:49 AM
Ipang