23/04/2012, 23:04
|
| | Fecha de Ingreso: octubre-2011
Mensajes: 4
Antigüedad: 13 años, 3 meses Puntos: 0 | |
Respuesta: Evitar que se expanda columna Hola acousticgerman prueba este codigo:
<table width="570" align="center" style="table-layout: fixed" cellspacing="0" cellpadding="0">
<tr>
<td align="left" width="570" bgcolor="brown">
<font color="white" size="4">Noticias</font>
</td>
</tr>
<?php
include ("connection.php");
$connect= mysql_connect($host,$username, $password);
$select_db= mysql_select_db($db_name, $connect);
$resalt3 = mysql_query("SELECT * FROM upload2 ORDER BY id_usuario desc LIMIT 1");
while($rowsss=mysql_fetch_array($resalt3)){
?>
<tr>
<td align="left" width="570">
<br><br><font size='5' color='blue'><b><?php echo $rowsss['title']?></b></font><br><br>
<p width='550px' cellspacing='0' cellpadding='0'><font size='2' color='black'><?php echo $rowsss['text_content']?></font></p>
<br><br>
<a href="<?php echo "ruta del enlace"?>">
<img src="<?php echo "actualizaciones/imagen/".$rowsss['user_picture']?>" width="350" border="0">
</a>;
</td>
</tr>
<?php
}
?>
</table> |