http://www.redoffice.com.ar/lista.php?seccion=Escritura
en el firefox se ve bien, pero no asi en el explorer
aca va el codigo
Código :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<table width="746" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="746" height="0" valign="top"><?php
extract($_GET);
extract($_POST);
include("includes/conexion.php");
$db = mysql_connect ($host, $usr, $pwd) or die ('Error de Conexion');
mysql_select_db($bdatos, $db) or ("Error al conectar a la bdatos");
if(isset($_GET['seccion'])){
$sql = "SELECT DISTINCT subseccion FROM productos WHERE seccion = '$seccion' order by subseccion ";
}
$contador = 0;
$result = mysql_query($sql,$db);
$total = mysql_num_rows($result); //total de registros, numero para que dividas entre el numero de columnas
$filasMax = ceil($total/2);
if ($myrow = mysql_fetch_array($result)) {
do{
$contador ++;
$id = $myrow["id"];
$seccion = $myrow["seccion"];
$subseccion = $myrow["subseccion"];
if (contador<filasMax){
?>
<table width="343" height="25" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="15" height="20"><div align="left"> <img src="images/flecha2.jpg" width="15" height="7" /><span class="info"> </span></div></td>
<td width="328"><a href="productos.php?subseccion=<?php echo $subseccion ?>"><span class="info"><?php echo $subseccion?></td>
</tr>
</table>
<?php
}
else
{
?>
<table width="373" height="25" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="16" height="20"><div align="left"><img src="images/flecha2.jpg" width="15" height="7" /></div></td>
<td width="357"><span class="info"> <a href="productos.php?subseccion=<?php echo $subseccion ?>"><?php echo $subseccion?></a></span></td>
</tr>
</table><?php
}
}while ($myrow = mysql_fetch_array($result));
}/* ------------------------------------------------------------------*/
?>
<p><span class="info"><a href="productos.php?subseccion=<?php echo $subseccion ?>">
</a></span></p></td></tr>
</table>
</body>
</html>alguna idea? muchas gracias.
