Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Re comma separated List - another question
- Craig Keightley
April 14, 2005, 4:48 pm
rate this thread
Re: Re comma separated List - another question
Craig Keightley wrote:
The array_intersect() function returns an array of consisting of all
the elements that are in both arrays. The implode() function can be
used to turn that array back into a CSV string.
$str_1 = '1,2,3,4,5,6,7,8,11';
$str_2 = '1,3,4,5,6,7,10,23';