Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/04/2010, 12:48
Avatar de juamd
juamd
 
Fecha de Ingreso: marzo-2009
Ubicación: Bogotá
Mensajes: 285
Antigüedad: 15 años, 2 meses
Puntos: 8
Respuesta: problema con $row y mysql_fetch_array

Puedes imprimir los resultados dentro de una tabla:

Código PHP:

<table align=center border=2>
    <td>C&eacute;dula</td><td>Nombre</td>
    <?php 
        
while ($row $result->fetch_row()){
             
$ced=$row[0];
             
$nom=$row[1];
             echo 
"<tr>";
             
?>
                 <td><?php echo"$ced"?></td> 
                 <td><?php echo"$nom"?></td>
         }
     echo '</tr>;
echo </table>
?>
Saludos.