Forum und email

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


ttp://www.google-analytics.com/urchin.js" type="text/javascript">