Ver Mensaje Individual
  #4 (permalink)  
Antiguo 05/07/2012, 22:12
gldelossantos
 
Fecha de Ingreso: agosto-2011
Ubicación: Santo Domingo
Mensajes: 487
Antigüedad: 12 años, 8 meses
Puntos: 31
Respuesta: Listado de datos en php y Mysql

Aqui el codigo que creo te funcionaria

Código PHP:
Ver original
  1. include_once "conexion.php";
  2.        
  3.         $resultados = mysql_query("select * from libros");
  4.                ?>
  5.  
  6. <h1><font color="black">Libros para el alumno  Vol I</font><h1>
  7.         <table class="table2">
  8.     <thead>
  9.         <tr>
  10.             <th></th>
  11.             <th scope="col" abbr="Starter">Espa&ntilde;ol</th>
  12.         </tr>
  13.     </thead>
  14.     <tfoot>
  15.         <tr>
  16.             <th scope="row"></th>
  17.         </tr>
  18.     </tfoot>
  19.     <tbody>
  20.         <tr>
  21.         <th scope="row"></th>
  22. <?php while($row=mysql_fetch_array($resultados)){
  23.           echo '<td><a href="Primero\Volumen\'.$row["nombre_archivo"].'">'.$row["materia"].'</a></td> ';
  24.  
  25. }
__________________
El talento se educa en la KARMA y el carácter en la tempestad.
Gabriel De Los Santos