I have an array which produces output as shown below :
for($i=0; $i<$cnt; $i++)
{
$eq = $emp_q[$i];
}
I need the output in following format : 'a','b','c'
I have tried using this :
for($i=0; $i<$cnt; $i++)
{
$eq .= "'$emp_q[$i]'";
}
But above code is not giving the output I am expecting . Please help.
Use implode()