Código PHP:
$querybusqueda="Select fecha from tabla where nomb_cliente like '%$buscar%' or num_pedido like '%$buscar%' order by fecha desc" ;
$result = mysql_query($querybusqueda);
?>
</p>
<table width="100%" border="1" bgcolor="#999999">
<tr bgcolor="#2B5075">
<td width="14%"><div align="center" span class="style9">Fecha</div></td>
</tr>
<?
while ($row =@mysql_fetch_array($result)){
?><tr bgcolor="#CCCCCC" ><? echo $row['fecha'];?>
<td bgcolor="#CCCCCC"><div align="center"><strong><a href=index_taller.php?mess=12&anio=2006><?php echo $row['fecha'];?></a> </strong></div></td>
<? } ?>
</table>