Búsqueda de funciones
 
  prepare($SQL); $result = $stmt->execute(array(':Id_funcion'=>$id)); $rows = $stmt->fetchAll(\PDO::FETCH_OBJ); if(count($rows)){ //echo "Existe el registro de la función"; foreach($rows AS $row){ ?>
Id_funcion:

FechaHoraTeatroObraId de la afinidad
fecha."
")?>
hora."
")?>
teatro."
")?>
obra."
")?>
id_afinidad."
")?>