PHP 手冊
上一頁 |  | 下一頁

# id3_get_genre_name

(no version information, might be only in CVS)

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.

> 備注:Instead of a filename you may also pass a valid stream resource.

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_list | 上一層 | id3_get_tag