downloads | documentation | faq | getting help | mailing lists | reporting bugs | sites | links | my 
search for in the  
Last updated: Mon, 16 Jul 2012



id3_get_genre_id -- Get the id for a genre


int id3_get_genre_id ( string genre )

id3_get_genre_id() returns the id for a genre. If the specified genre is not available in the genre list, id3_get_genre_id() will return FALSE

In an ID3 tag, the genre is stored using a integer ranging from 0 to 147.

例子 1. id3_get_genre_id() example

= id3_get_genre_id("Alternative");

This will output:


See also id3_get_genre_list() and id3_get_genre_name().

 Last updated: Mon, 16 Jul 2012
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at:
Last updated: Thu Jul 7 19:13:47 2005 CST