Explode to 2 dimensional array
| From: | Reuben D Budiardja | Date: | Sat, 01 Jul 2000 13:52:01 +0000 |
| Subject: | Explode to 2 dimensional array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4251@lists.php.net to get a copy of this message | ||
Hi
This might be a dump question, but can I do something like this:
while(blah..)
{
$pieces[$i] = explode(",", $words_separated_by_comma);
$i++
}
to make 2 dimensional array of $pieces? if not, what is the alternative?
Thanks
Reuben D. B