Implode is the reverse of explode.
It lets you take an array and form a single string oout of all the elements by joining the elementes together.
You can define a seperate string taht should be placed inbetween each element, like this:
$array = array(1,2,3,4);
echo implode(',',$array);
will output:
1,2,3,4
With a little clever thinking you can make the implode create a list of OR statements, because the text between each of the vars is the same for each OR statement, something like:
SELECT *
FROM table
WHERE field=value OR field=othervalue OR field=anothervalue
The 'OR field=' is repeated between all values.