Ver Mensaje Individual
  #14 (permalink)  
Antiguo 22/11/2005, 06:48
Avatar de arielcasanova
arielcasanova
 
Fecha de Ingreso: octubre-2004
Ubicación: Bahía Blanca - Argentina
Mensajes: 332
Antigüedad: 19 años, 6 meses
Puntos: 1
ahora voy a probar lo del iframe... Cluster, no logro comprender; ahora hice esto:
Código:
document.write('<table width='150' border='0' align='center' cellpadding='0' cellspacing='3' class='tabla01'>
              <tr>
                <td width='171' bgcolor='009EE2' class='Estilo9'><div align='center' class='Estilo11'>&Uacute;ltimos veh&iacute;culos ingresados </div></td>
              </tr>
              <tr>
                <td bgcolor='#FEFEF3'><?
				include ("conexion.php");
$link = mysql_connect($host, $user, $pass); 
mysql_select_db($base, $link); 
$sql2 = "SELECT * FROM vehiculos where estado = 'activo' and 1 ORDER BY fecha DESC LIMIT 5"; 
$result2 = mysql_query($sql2, $link); 
if ($row = mysql_fetch_array($result2)){ 
mysql_field_seek($result2,0); 
do { 
echo
"<table width='130' border='0' cellpadding='0' cellspacing='0'>
  <tr>
    <td width='130' align='left' valign='top'><div class='negrita'>".$row['marca']."</div><a href='detalle.php?id=".$row['id']."'> ".$row['modelo']." ".$row['combustible']." ".$row['anio']."</a></div></td>
  </tr>
</table>
";
}
while ($row = mysql_fetch_array($result2)); 
} else { 
echo ""; 
}

?>
</td>
              </tr>
            </table>')
Pero tampoco funciona... ¿qué tengo que hacer?
__________________
Ariel Casanova
diseño y desarrollo web estratégico
www.emporia.com.ar