Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-10 Thread Richard Lynch
Thomas Goyne wrote: On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: that's not a SPECIFIC place in the array, that's just current, next and previous. AFAIK there is no way to explicitly set the internal pointer of the array to a spcified place. I used a function

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-10 Thread Robert Cummings
On Mon, 2005-01-10 at 11:28, Richard Lynch wrote: Thomas Goyne wrote: On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: that's not a SPECIFIC place in the array, that's just current, next and previous. AFAIK there is no way to explicitly set the internal pointer

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-10 Thread Richard Lynch
Robert Cummings wrote: On Mon, 2005-01-10 at 11:28, Richard Lynch wrote: Thomas Goyne wrote: On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: that's not a SPECIFIC place in the array, that's just current, next and previous. AFAIK there is no way to explicitly

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-10 Thread Marek Kilimajer
Richard Lynch wrote: I'll give you a simple case. I have a GTK PHP MP3 ID3 editor application I'm working on. When one opens a file in a directory, I provide next/prev buttons to quickly page to the next/prev file in the directory. Getting the next/prev to work is simple enough, but... I've got

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-10 Thread Robert Cummings
On Mon, 2005-01-10 at 12:44, Richard Lynch wrote: Robert Cummings wrote: On Mon, 2005-01-10 at 11:28, Richard Lynch wrote: Thomas Goyne wrote: On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: that's not a SPECIFIC place in the array, that's just current,

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-10 Thread Richard Lynch
Marek Kilimajer wrote: Richard Lynch wrote: I'll give you a simple case. I have a GTK PHP MP3 ID3 editor application I'm working on. When one opens a file in a directory, I provide next/prev buttons to quickly page to the next/prev file in the directory. Getting the next/prev to work is

Re: [PHP] How do I start at a specific position in an array? Is there a function?

2005-01-09 Thread tr
Brent Clements wrote / napísal (a): I know this is a simple question because I could easily write a loop to move to the specific position in the array, but I want to know is there a function to move the array pointer position to a specific position in the array? Thanks, Brent next($array)

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-09 Thread M. Sokolewicz
Tr wrote: Brent Clements wrote / napísal (a): I know this is a simple question because I could easily write a loop to move to the specific position in the array, but I want to know is there a function to move the array pointer position to a specific position in the array? Thanks, Brent

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-09 Thread Thomas Goyne
On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: that's not a SPECIFIC place in the array, that's just current, next and previous. AFAIK there is no way to explicitly set the internal pointer of the array to a spcified place. I used a function which basically looped

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-09 Thread M. Sokolewicz
Thomas Goyne wrote: On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: that's not a SPECIFIC place in the array, that's just current, next and previous. AFAIK there is no way to explicitly set the internal pointer of the array to a spcified place. I used a function

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-09 Thread Thomas Goyne
On Sun, 09 Jan 2005 23:58:18 +0100, M. Sokolewicz [EMAIL PROTECTED] wrote: can't recall what it was exactly, but I believe it was a case where I didn't know the key of the array, nor the value, but knew the place in the array. Can't exactly remember what it was... I am now thinking that what

[PHP] How do I start at a specific position in an array? Is there a function?

2005-01-08 Thread Brent Clements
I know this is a simple question because I could easily write a loop to move to the specific position in the array, but I want to know is there a function to move the array pointer position to a specific position in the array? Thanks, Brent -- PHP General Mailing List (http://www.php.net/) To