Home > PHP > Function > ID3 > id3_get_genre_id()

id3_get_genre_id()

id3_get_genre_id - Get the id for a genre

Syntax

int id3_get_genre_id (string $genre)

Arguments

  • genre - An integer ranging from 0 to 147

Description

id3_get_genre_id() returns the id for a genre.

Version

PHP PECL id3 >= 0.1

Return value

The genre id or FALSE on errors.