Inicio PHP JavaScript Manual PHP Links de interes Contacto
Scripts en PHP Programación PHP, lenguaje del lado del servidor.
Scripts PHP - Funciones Funciones  Scripts PHP - Ip´s Ip´s  Scripts PHP - Otros Otros  
Scripts en JavaScript Programación JavaScript, lenguaje del lado del cliente.
Scripts JS - Barra de estado Barra de estado  Scripts JS - Calculadoras Calculadoras  Scripts JS - Efectos Efectos  Scripts JS - Relojes/Calendarios Relojes/Calendarios  
  Manual PHP     Manual PHP  
function.id3-get-genre-id -- http://www.mundoscript.com/php/function.id3-get-genre-id.html id3_get_genre_id

id3_get_genre_id

(no version information, might be only in CVS)

id3_get_genre_id -- Get the id for a genre.

Description

int id3_get_genre_name ( string genre)

id3_get_genre_id() returns the id for a genre. If the specified genre is not available in the genre list, id3_get_genre_id() will return FALSE

Nota: Instead of a filename you may also pass a valid stream resource.

In an ID3 tag, the genre is stored using a integer ranging from 0 to 147.

Ejemplo 1. id3_get_genre_id() example

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

This will output:

20

See also id3_get_genre_list() and id3_get_genre_name().

Web´s ORO

Comparativas

peliculas - musica - trucos
telefonos moviles
directorio de programacion
Web´s PLATA

logiciel gratuit
programas para bajar
ocio y entretenimiento
eliminar virus