id3
PHP Manual

id3_get_genre_id

(PECL id3:0.1-0.2)

id3_get_genre_id — Get the id for a genre

Опи�ание

int id3_get_genre_id ( string $genre )

id3_get_genre_id() returns the id for a genre.

Спи�ок параметров

genre

An integer ranging from 0 to 147

Возвращаемые значени�

The genre id or FALSE on errors.

Примеры

Example#1 id3_get_genre_id() example

<?php
$id 
= id3_get_genre_id("Alternative");
echo 
$id;
?>

Результат выполнени� данного примера:

20

Смотрите также


id3
PHP Manual