Re: simple array tricks

From: Date: Fri, 08 Sep 2000 13:01:58 +0000
Subject: Re: simple array tricks
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15871@lists.php.net to get a copy of this message
Sorry for the sort answer but i don;t want to missquide you. Have you try explode(); Kind Regards Pantelis Roditis dbarber wrote: > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- A source is like a parachute... It only works when it's open

« previous php.general (#15871) next »