simple array tricks
| From: | dbarber | Date: | Fri, 08 Sep 2000 13:04:52 +0000 |
| Subject: | simple array tricks | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15870@lists.php.net to get a copy of this message | ||
Hi,
simple problem for most of you, I'm sure, but I've been struggling with it
for 3 hours.
$discipline = "X, Y";
I need to break this into
$discipline = ("X", "Y");
when I try to put $discipline into an array, it seems to be giving me an
array with one element of "X, Y". I've been through the string functions,
but either it's not there, or I've missed it.
Any help would be sincerely appreciated.
thanks,
Dan