Kod:
<?php function split_text ( $string, $split_length = 1 ) { return $i; } ?>
Pozdrawiam.
<?php function split_text ( $string, $split_length = 1 ) { return $i; } ?>
<?php function split_text ( $string, $split_length = 1 ) { return $i; } $text = 'alamakota'; $zm = split_text($text, 3); $zm = str_split($text, 3); ?>
<?php $text = "alamak\r\nota"; $zm = split_text($text, 3); $zm = str_split($text, 3); ?>
<?php function split_text ( $string, $split_length = 1 ) { { $temp = ''; for($t=0; $t<$split_length; $t++) { $offset = ($i*$split_length)+$t; if (($offset+1)>$len) break; $temp .= $string{$offset}; } $return[] = $temp; } return $return; } ?>