I need to put the result in this way: valueA, valueB, valueC. I'm using the code below:
$valor = "valorA";
$valor .= "valorB";
$valor .= "valorC";
$array = array($valor);
echo implode(",",$array);
Only using it that way, I can not. The values of the $ value variables come from an HTML checkbox.