TheConeHead
Programmer
How would I break the string:
'1', '4', '5', '2'
into an array. I tried to simply:
$ids = "'1', '4', '5', '2'";
$ids2 = array($ids);
but it simply puts the whole string into the first member [0]
This is a simplified example, I need to be able to array a variable like this example, though....
thanks
![[conehead] [conehead] [conehead]](/data/assets/smilies/conehead.gif)
'1', '4', '5', '2'
into an array. I tried to simply:
$ids = "'1', '4', '5', '2'";
$ids2 = array($ids);
but it simply puts the whole string into the first member [0]
This is a simplified example, I need to be able to array a variable like this example, though....
thanks
![[conehead] [conehead] [conehead]](/data/assets/smilies/conehead.gif)