downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<id3_get_frame_short_nameid3_get_genre_list>
Last updated: Thu, 26 Jun 2008

id3_get_genre_id

(PECL id3:0.1-0.2)

id3_get_genre_id — Get the id for a genre

Description

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 #1 id3_get_genre_id() example

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

The above example will output:

20



add a noteadd a note User Contributed Notes
Get the id for a genre
There are no user contributed notes for this page.




<id3_get_frame_short_nameid3_get_genre_list>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs