here is a piece of code-related to arrays- which i am having difficulty understanding it and i would appreciate some help
for($=0;$i<$lists;$i++){ echo ....$list[i][0] }
There is also some other code but the above is enough for what i want to ask. Why $list[0] has both [0] in front of it? The 0 is to access the first element of the array, what is the role of the loopcounter i there? I think it is there to access all the elements of the array one by one but how exactly does it achieve that by having the counterleft from the array index--[0]?