PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<id3_get_genre_listid3_get_tag>
Last updated: Mon, 16 Jul 2012

id3_get_genre_name

(PECL)

id3_get_genre_name -- Get the name for a genre id

Description

string id3_get_genre_name ( int genre_id )

id3_get_genre_name() returns the name for a genre id.

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

例子 1. id3_get_genre_name() example

<?php
$genre
= id3_get_genre_name(20);
echo
$genre;
?>

This will output:

Alternative

See also id3_get_genre_list() and id3_get_genre_id().




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