id3_get_genre_id

(PECL id3 >= 0.1)

id3_get_genre_idGet the id for a genre

Opis

id3_get_genre_id ( string $genre ) : int

id3_get_genre_id() returns the id for a genre.

Parametry

genre

Genre name as string.

Zwracane wartości

The genre id or FALSE on errors.

Przykłady

Przykład #1 id3_get_genre_id() example

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

Powyższy przykład wyświetli:

20

Zobacz też:

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top