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:
\'
Use ' before and after implode()
'
$temp = array("abc","xyz"); $result = "'" . implode ( "', '", $temp ) . "'"; echo $result; // 'abc', 'xyz'