Esto pondría yo en el principio, avisame si funciona, si no estamos fritos con mi respuesta hehehehe
Código PHP:
$variable =mysql_query("SELECT id,genero FROM peliculas WHERE id=' ".$id." ' ",$conexion) or
die("Problemas en el select:".mysql_error());
$reg=mysql_fetch_array($variable);
$gen=$reg['genero'];