2
I need to put the result this way: valora,valorB,valorC. I am using the code below:
$valor = "valorA";
$valor .= "valorB";
$valor .= "valorC";
$array = array($valor);
echo implode(",",$array);
Only using this way, I’m not getting. The values of the variables $value, comes through a checkbox in HTML.
Post the form as well, so we can analyze.
– Sr. André Baill
Hello, there are several ways to create
arrays
and the one you just used there is obviously not the best or correct at all, someone answered your question, but I don’t really understand why you want something like this.– Edilson