Ver Mensaje Individual
  #5 (permalink)  
Antiguo 25/08/2010, 01:27
Avatar de xalupeao
xalupeao
 
Fecha de Ingreso: mayo-2008
Ubicación: Santiago, Chile
Mensajes: 749
Antigüedad: 16 años
Puntos: 12
Respuesta: Pregunta con ciclo for

al final lo deje asi

Código PHP:
Ver original
  1. for($i=1;$i<=31;$i++){  
  2.    if($i < 10){
  3.       $i = '0'.$i;
  4.    }
  5. }

gracias igual.

es que pense que habia una forma diferente de hacerlo.
__________________
Hosting en Chile en Silverhost - La solución en Hosting en Chile.