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

Your name:

Reply:


Posted by Marek Kilimajer on 10/18/30 11:05

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 the whole array built from opendir/readdir, and sorted it into
> alphabetical order.
>
> I've got a filename inside that array, from the pre-defined
> GtkFileSelection dialog.
>
> So I need to initialize the internal array pointer to the position of the
> file within that array, there is no such PHP function.

for(;;) loop would not work?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация