Ver Mensaje Individual
  #11 (permalink)  
Antiguo 27/07/2006, 08:30
andersfriden
 
Fecha de Ingreso: julio-2006
Mensajes: 70
Antigüedad: 17 años, 9 meses
Puntos: 0
de acá , lo raro que esto funciona en mi pc sin problemas

Código PHP:
<?php

$coneccion 
mysql_connect($host,$usuario,$pass);
mysql_select_db ($bd);

$sql " SELECT * FROM curso,documentos where documentos.id_curso like curso.id_curso and id_cat=1  order by id_doc Asc ";
$result mysql_query($sql) or die(mysql_error());
while(
$myrow mysql_fetch_array($result)){
    
?><style type="text/css">
<!--
body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #333333;
}
.Estilo2 {
    color: #333333;
    font-weight: bold;
}
.Estilo3 {font-size: xx-small}
-->
</style>
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="10">
    <tr>
      <td width="110" height="18" align="center" valign="top"><div align="left"><span class="Estilo2"><?php echo $myrow[nombre_curso]; ?></span></div></td>
        <td width="218" align="center" valign="top"><div align="left"><span class="Estilo2">- <?php echo $myrow[titulo]; ?><br />
      </span></div></td>
      <td width="559" align="center" valign="top"><div align="center"><?php echo $myrow[descripcion]; ?></div></td>
        <td width="38" align="center" valign="top"><div align="right"><a href="./modulos/scripts/descargar_archivo.php?id_doc=<?php echo $myrow[id_doc]; ?>" target="_blank"><img src="./imagenes/desc.gif" width="25" height="29" border="0" /></a></div></td>
    </tr>
</table>
    <?php ?>

Última edición por andersfriden; 27/07/2006 a las 08:49