Hi,
I'm trying to put a comma separated list from a mysql record into an array.
The problem comes down to this.
Instead of:
$array=array(a,b,c,d);
I need:
$result="a,b,c,d";
$array=array($result);
However, this returns a single element "a,b,c,d" and not a[0] is 'a', a[1] is b etc.
Could anyone explain why this and if there is another way to do this?
Thanks
Rob