Ver Mensaje Individual
  #15 (permalink)  
Antiguo 30/05/2009, 15:21
Avatar de spider_boy
spider_boy
 
Fecha de Ingreso: diciembre-2003
Ubicación: Chile
Mensajes: 1.855
Antigüedad: 20 años, 4 meses
Puntos: 89
Respuesta: Arreglos en una matriz

Se me ocurre algo así.

Código PHP:
$valores = array();
$count count($pepe);
$contador 1;
$next "";
while(
$contador $count)
{
       if(
$contador==1)
                 
$valores[] = next($pepe);
       else  {
          for(
$i=0;$i<$contador;$i++)
                 
$next next($pepe);
          
$valores[] = $next;
       }   
       
$contador++;

No sé si funcionará D=

Nos vemos =P
__________________
Nunca te olvidaré mi negra hermosa. Te extraño demasiado.