id3_get_genre_name

(PECL id3 >= 0.1)
Get the name for a genre id
string id3_get_genre_name ( int $genre_id )

id3_get_genre_name() returns the name for a genre id.

Parameters:
genre_id

An integer ranging from 0 to 147

Returns:

Returns the name as a string.

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

The above example will output:

Alternative
See also:

id3_get_genre_list() -

id3_get_genre_id() -

doc_php
2016-02-24 15:54:19
Comments
Leave a Comment

Please login to continue.