Ver Mensaje Individual
  #26 (permalink)  
Antiguo 15/07/2015, 11:01
Avatar de xfxstudios
xfxstudios
 
Fecha de Ingreso: junio-2015
Ubicación: Valencia - Venezuela
Mensajes: 2.448
Antigüedad: 8 años, 10 meses
Puntos: 263
Respuesta: No entiendo el fallo

tienes esto asi:
Código PHP:
Ver original
  1. <?
  2. while ($row=$consulta->fetch_array())
  3. {
  4. echo '<tr><td>'.$row["cliente"].'</td>';
  5. echo '<td>'.$row["prenda"].'</td>';
  6. echo '<td>'.$row["precio"].'</td></tr>';
  7. }
  8. ?>

colocalo asi
Código PHP:
Ver original
  1. <?php
  2. while ($row=$consulta->fetch_array())
  3. {
  4. echo '<tr><td>'.$row["cliente"].'</td>';
  5. echo '<td>'.$row["prenda"].'</td>';
  6. echo '<td>'.$row["precio"].'</td></tr>';
  7. }
  8. ?>
alli esta el error