Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/11/2012, 12:54
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: duda de poder hacer un conteo numerico en php

Pues yo veo una secuencia muy clara, puedes un solo ciclo
Código PHP:
Ver original
  1. $start = 1;
  2. for ($i = 0; $i <= 9; $i++) {
  3.       echo "$i" . str_pad($start, 2, '0', STR_PAD_LEFT);
  4.       $start += 9;
  5. }