Re: Population array from string of comma separated numbers?
Posted by Gary Hasler on 07/28/06 23:31
I think you want
$myarray = explode($mystring, ",");
usenet@isotopeREEMOOVEmedia.com wrote:
> How would one create an array from the values in string ?
> $mystring = "67,11,68,11,69,11,70,11"; // comes from a varchar MySQL field
>
> I wish that
> $myarray = array($mystring);
> would work, but it doesn't seem to....