this is my code:
foreach ($_POST['id_serv'] as $key => $count) {
$p_warna = $_POST['p_warna'.$count];
$p_data = $p_warna;
echo $p_data;
// if i set "echo" at this, i get value ("RedGreen")
} echo $p_data;
// if i set "echo" at this, i get value ("Green")
the quetion is how to make value $p_data to be like this: ("Red,Green"); if can do that, i can input them to database just one time for one column data.
thanks for your help before..