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'>Últimos vehí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?