prepare($sqlNotDet);
$stmt->execute();
$resultNotDet = $stmt->fetchAll();
foreach ($resultNotDet as $valueNotDet) {?>
}?>
}?>
}?>
}else{?>
Notícias
$sqlNoticias = "SELECT * FROM st_noticias WHERE status = 1 ORDER BY dataCad DESC";
$stmt = $conn->prepare($sqlNoticias);
$stmt->execute();
$resultNoticias = $stmt->fetchAll();
foreach ($resultNoticias as $valueNoticias) {?>