😕 part of it works... but part of it dont...
Code:
<?php
// $stringtoget = $_GET['txt'];
$s = "i wonder if this will work";
for( $i=0,$c=0;$i<strlen($s);$i++,$c+=10 )
$a[] = substr( $s , $c , $c+10 );
echo $a[0] ."<br>". $a[1] ."<br>". $a[2];
?>
output:
i wonder i
f this will work
l work
the 2nd one aint working 😕