Ver Mensaje Individual
  #6 (permalink)  
Antiguo 15/08/2006, 20:44
Cluster
O_O
 
Fecha de Ingreso: enero-2002
Ubicación: Santiago - Chile
Mensajes: 34.417
Antigüedad: 22 años, 4 meses
Puntos: 129
Cita:
Iniciado por rumo Ver Mensaje
no seria lo mas facil utilizar str_split()

Código PHP:
<?php

$string 
"0001000200030004";

$str str_split($string4);

for(
$i=0;$i<=count($str);$i++){
    echo 
$str[$i]."<br />";
}

?>
?????
Y ya puestos ..

En lugar del for() ... un foreach()

Código PHP:
<?php 

$string 
"0001000200030004"

$str str_split($string4); 

foreach(
$str as $trozo){ 
    echo 
$trozo."<br />"


?>
Un saludo,
__________________
Por motivos personales ya no puedo estar con Uds. Fue grato haber compartido todos estos años. Igualmente los seguiré leyendo.