Ver original$codNoticia = $nt['idnoti'];$sqlfotos = "SELECT * FROM fotos WHERE id_foto=$codNoticia AND portada = true";