<?php
$integers="1,5,8,4,3"; //Convert into String
$arr = explode(',', $integers); // String to Array Conversation
foreach ($arr as $key => $value) {
$val[] = "'".$value."'"; // add your requirements here
}
$finalvalue = implode(',', $val); // Array to string
echo $finalvalue; // your final result
?>
solved Convert integer to string