Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/06/2008, 05:27
Avatar de camilo_1987
camilo_1987
 
Fecha de Ingreso: junio-2008
Ubicación: ALZIRA, Spain, Spain
Mensajes: 77
Antigüedad: 16 años, 7 meses
Puntos: 0
Busqueda Php Noticia como Anteriores Y Siguientes

Hola todos
Pero el php noticia como Anteriores Y Siguientes ultima 10??
Código PHP:
<?
$server
="localhost";
$username="root";
$password="980980";
$database="bonaventura";
$connection=mysql_connect ($server$username$password);
mysql_select_db($database$connection);
$sentencia=mysql_db_query("bonaventura""SELECT * FROM noticia ORDER BY id DESC");
while(
$rs=mysql_fetch_array($sentencia)){
?>
      <table width="95%" border="0" align="center" cellspacing="0">
  <tr>
    <td bgcolor="#90A5CD"><font face="Verdana" size="2">
            <? echo $rs["Titulo"]; ?> - <? echo $rs["Fecha"]; ?></font></td>
  </tr>
  <tr>
    <td align="left"><? echo $rs["Texto"]; ?></td>
  </tr>
</table><? ?>