Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/10/2010, 13:53
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: Bucle "While" en consulta mysql

en realidad no es tan dificil

Código k:
Ver original
  1. $i = 0;
  2. while (/** fetch a consulta **/) {
  3.     if (++$i % 10 == 0) {
  4.         echo 'Hola';
  5.     }
  6. }
__________________
More about me...
~ @rhyudek1
~ Github