Foreach loop
Posted: Wed May 19, 2010 2:55 pm
while iterating over arrays through foreach can we find the position of array currently being executed.....wether first element is currently being executed, 2nd or so on.......
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
foreach($array as $key => $value)