Page 1 of 1

Spliting a $string

Posted: Sat Dec 07, 2002 4:33 pm
by oldtimer
I want to pass along an option from a form like this

this-that-andthat.
Now on the next page i want to split these between the -s so that i have $this
$that
$andthat

I have read about it in the past but can not seem to find it.

Jerry

Posted: Sat Dec 07, 2002 6:13 pm
by hedge
explode() is your friend