
24/04/2008, 16:13
|
| | Fecha de Ingreso: febrero-2008
Mensajes: 14
Antigüedad: 17 años Puntos: 0 | |
Re: Problema con php 5.2.5 (funcionaba en php 4.3)
Código:
<td><?
$result=mysql_query('select * from noticias where categoria="general" order by fecha Desc LIMIT 10');
$totalregistros=mysql_num_rows($result);
while($row=mysql_fetch_array($result)){
?></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="5">
<tr>
<td align="left" class="T_resaltadoC"><? echo $row[titulo];?></td>
</tr>
<tr>
<td class="contenido"><p><? echo RecortarTexto($row[copete],150)?><a href="noticia.php?id=<? echo $row[id_noticia];?>">Leer Nota </a><img src="img/onair.gif" width="16" height="7"></p></td>
</tr>
<tr>
<td class="contenido">.............................................................</td>
</tr>
</table></td>
</tr>
<tr>
<td><? }mysql_free_result($result);?></td>
</tr>
</table>
|