bueno yo lo dejaria asi
Código PHP:
<?
if (!isset($_GET['date'])){
$colname__noticias("Y-m-d");
}
else{
$colname__noticias=$_GET['date'];
}
$query_noticias = sprintf("SELECT * FROM noticias WHERE Fecha = '%s' ORDER BY Fecha DESC", $colname__noticias);
$noticias = $pruebas->SelectLimit($query_noticias) or die($pruebas->ErrorMsg());
$totalRows_noticias = $noticias->RecordCount();
while (!$noticias->EOF) {
?>
<tr>
<td><?php echo $noticias->Fields('Noticia'); ?></td>
<td>n</td>
</tr>
<?php
$noticias->MoveNext();
}
$noticias->Close();
?>
Un Saludo