note 3870 modified in Arrays by ronabop
| From: | ronabop@php.net | Date: | Fri, 25 Aug 2000 08:55:02 +0000 |
| Subject: | note 3870 modified in Arrays by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3181@lists.php.net to get a copy of this message | ||
To split a string eg $string='paul', into an
@array('p','a','u','l')
$choice="string";
for ($z=0;$z<$len;$z++)
{$newarray[]=$choice[$z];}
http://www.php.net/manual/arrays.php