If you need this, I suggest using the good old fashioned for ($i = 0; $i < END; $i++) { }. Nothing broken there, I don't think.
James On Thursday, September 26, 2002, at 11:12 PM, [EMAIL PROTECTED] wrote: > Hello, All: > > When using foreach or while() on an array, how can I access the index > of > the list that foreach()/while() is working upon? Is there an internal > variable that stores this info like PHP's current()? > > -- > Eric P. > Sunnyvale, CA > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]