PHP Unconference Europe 2015

id3_get_genre_id

(PECL id3 >= 0.1)

id3_get_genre_idGet the id for a genre

Descrierea

int id3_get_genre_id ( string $genre )

id3_get_genre_id() returns the id for a genre.

Parametri

genre

Genre name as string.

Valorile întoarse

The genre id or FALSE on errors.

Exemple

Example #1 id3_get_genre_id() example

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

Exemplul de mai sus va afișa:

20

Vedeți de asemenea

add a note add a note

User Contributed Notes

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