Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : ID3 Functions : id3_get_genre_id

id3_get_genre_id

Get the id for a genre (PECL id3:0.1-0.2)
int id3_get_genre_id ( string genre )

id3_get_genre_id() returns the id for a genre.

Parameters

genre

An integer ranging from 0 to 147

Return Values

The genre id or FALSE on errors.

Examples

Example 970. id3_get_genre_id() example

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

The above example will output:

20


Change Language


Follow Navioo On Twitter
id3_get_frame_long_name
id3_get_frame_short_name
id3_get_genre_id
id3_get_genre_list
id3_get_genre_name
id3_get_tag
id3_get_version
id3_remove_tag
id3_set_tag
eXTReMe Tracker