©
This document uses PHP Chinese website manual Release
(PECL id3 >= 0.1)
id3_get_genre_id — Get the id for a genre
$genre
)id3_get_genre_id() returns the id for a genre.
genre
Genre name as string.
The genre id or FALSE
on errors.
Example #1 id3_get_genre_id() example
<?php
$id = id3_get_genre_id ( "Alternative" );
echo $id ;
?>
以上例程会输出:
20