Ver Mensaje Individual
  #5 (permalink)  
Antiguo 28/01/2011, 01:10
Avatar de Triby
Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 8 meses
Puntos: 2237
Respuesta: el bucle while no me muestra el primer registro

Código PHP:
Ver original
  1. $consulta=("select * from productos ");
  2.  $resultadosp=mysql_query($consulta,$conexion);

Supongo que entre que haces la consulta y el while tienes algun mysql_fetch_ALGO() que es lo que hace avanzar el apuntador al registro # 2... no veo (ni creo) otra causa.
__________________
- León, Guanajuato
- GV-Foto