explode didn't work well
| From: | ppf | Date: | Thu, 31 Oct 2002 22:49:46 +0000 |
| Subject: | explode didn't work well | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122347@lists.php.net to get a copy of this message | ||
Hi all:
I had tried to split the string into an array of
string using explode but the result isn't displaying
anything
I tried the example from document its its not showing
anything, pls point out where i went wrong
**********************
$pizaa="piece1 piece2 piece3 piece4 piece5 piece6";
$pieces = explode(' ', $pizza);
echo $pizaa;
echo ($pieces [2]);
********************
Thanks in advance
Prad
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/