When I implode my array I get a list that looks like this:
qwerty, QTPQ, FRQO
I need to add single quotes so it looks like:
\'
You can set the glue to ', ' and then wrap the result in '
', '
'
$res = "'" . implode ( "', '", $array ) . "'";
http://codepad.org/bkTHfkfx