ID3_GET_GENRE_ID(3) 1 ID3_GET_GENRE_ID(3)
id3_get_genre_id - Get the id for a genre
SYNOPSIS
int id3_get_genre_id (string $genre)
DESCRIPTION
id3_get_genre_id(3) returns the id for a genre.
PARAMETERS
o $genre
- Genre name as string.
RETURN VALUES
The genre id or FALSE on errors.
EXAMPLES
Example #1
id3_get_genre_id(3) example
<?php
$id = id3_get_genre_id("Alternative");
echo $id;
?>
The above example will output:
20
SEE ALSO
id3_get_genre_name(3), id3_get_genre_list(3).
PHP Documentation Group ID3_GET_GENRE_ID(3)