Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/12/2009, 06:48
tomypus
 
Fecha de Ingreso: diciembre-2003
Ubicación: Cordoba
Mensajes: 13
Antigüedad: 20 años, 4 meses
Puntos: 0
Respuesta: Problemas con celdas

que va, quito los nowrap y nada, me sigue pasando lo mismo.

Quedaria asi:

$link=mysql_connect("localhost","root");
mysql_select_db("almacen",$link);
$result=mysql_query("select marca,modelo,tipo_mat,cantidad,fecha_mov,observaci ones from movimientos where tipo_mov='Entrega' order by indice_mov;",$link);
if($row=mysql_fetch_array($result))
{
echo "<table align='center' bordercolor='#42c2ff' border='1' width='780' cellpadding='3' style='table.layout:fixed;'>\n";
echo "<tr>\n";
echo "<td width='140' ><b>Material</b></td>\n";
echo "<td width='130' ><b>Tipo de material</b></td>\n";
echo "<td width='70' ><b>Cantidad</b></td>\n";
echo "<td width='80' ><b>Fecha</b></td>\n";
echo "<td width='360' ><b>Observaciones</b></td>\n";
echo "</tr>\n";
do
{
echo"<tr>\n";
$cadena=" ".$row["marca"]." &nbsp;&nbsp;".$row["modelo"]." &nbsp;&nbsp;";
echo"<td class='esta' >".$cadena."</td>\n";
echo"<td class='esta' >".$row["tipo_mat"]."</td>\n";
echo"<td class='esta' align='center' >".$row["cantidad"]."</td>\n";
echo"<td class='esta' >".$row["fecha_mov"]."</td>\n";
if($row["observaciones"]==''){echo"<td class='esta' width='360' >"."&nbsp;"."</td>\n";}
else{echo"<td class='esta' width='360' >".$row["observaciones"]."</td>\n";}

echo"</tr>\n";
}
while($row=mysql_fetch_array($result));
echo"</table>";
}