Re: [PHP] explode didn't work well

2002-10-31 Thread Keith Vance
And that too.

Keith Vance
Vance Consulting LLC
www.vanceconsulting.net
(206) 355-2399

Try U.M.A. at http://uma.sourceforge.net/


On Thu, 31 Oct 2002, Rasmus Lerdorf wrote:

> Because you can't spell pizza, I bet.
>
> On Thu, 31 Oct 2002, ppf wrote:
>
> >
> > 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/
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] explode didn't work well

2002-10-31 Thread Keith Vance
echo ($pieces[2]);
instead of
echo ($pieces [2]);



Keith Vance
Vance Consulting LLC
www.vanceconsulting.net
(206) 355-2399

Try U.M.A. at http://uma.sourceforge.net/


On Thu, 31 Oct 2002, ppf wrote:

>
> 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/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] explode didn't work well

2002-10-31 Thread Rasmus Lerdorf
Because you can't spell pizza, I bet.

On Thu, 31 Oct 2002, ppf wrote:

>
> 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/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php