Ver Mensaje Individual
  #11 (permalink)  
Antiguo 22/10/2010, 11:44
zapt142
 
Fecha de Ingreso: julio-2010
Ubicación: La Ciudad Blanca, Mérida-Yucatán
Mensajes: 375
Antigüedad: 13 años, 9 meses
Puntos: 7
Respuesta: Quiero mostrar mas de un dato...

trata asi:

Código PHP:
//cierra el tag php por si tienes codigo php antes de la tabla ya que es codigo html
?>
<table width='800' border='1' align='center'>
<tr>
<th width='90' scope='col'>FOLIO</th>
<th width='66' scope='col'>FECHA</th>
<th width='65' scope='col'>HORA</th>
<th width='69' scope='col'>UNIDAD</th>
<th width='66' scope='col'>NOMBRE</th>
</tr>
<?php
while($fila=mysql_fetch_array($ART_SEL)){
echo 
"
<tr>
<td><a href='tu_direccion'"
>.$fila['folio']."</a></td>
<td>"
.$fila['fecha']."</td>
<td>"
.$fila['hora']."</td>
<td>"
.$fila['unidad']."</td>
<td>"
.$fila['nombre']."</td>
</tr>
"
;


}  
?>
</table>
o tambien podría ser asi:
Código PHP:
echo '<table width="800" border="1" align="center">
<tr>
<th width="90" scope="col">FOLIO</th>
<th width="66" scope="col">FECHA</th>
<th width="65" scope="col">HORA</th>
<th width="69" scope="col">UNIDAD</th>
<th width="66" scope="col">NOMBRE</th>
</tr>'
;
while(
$fila=mysql_fetch_array($ART_SEL)){
echo 
"
<tr>
<td><a href='tu_direccion'"
>.$fila['folio']."</a></td>
<td>"
.$fila['fecha']."</td>
<td>"
.$fila['hora']."</td>
<td>"
.$fila['unidad']."</td>
<td>"
.$fila['nombre']."</td>
</tr>
"
;



</
table
pureba y comentas
__________________
--No todos aprendemos de la misma forma, ni a la misma velocidad---