How do I add a ' to the front without removing any, what I want to do is add a ' to the beginning and the end, and replace - with ','.
// Turn the - into ','
$str = str_replace("-", "','", $str);
// Remove the extra ', from the start, and ,' from the end
$str = substr($str, 2)."'";
echo $str;
Thanks in advance.