I have small problem here :)
Anyone can help me, what I should do if i want to use this foreach statement with 2 values, because I need to insert in one table at the same time. Because if I used this code, it will be error. So && is not properly used in this case?
$hasilmsisdn=explode(";", $msisdn);
$hasilaccid=explode(";", $accid);
foreach ($hasilmsisdn as $value "&&" $hasilaccid as $value2)
{
$sql = "INSERT INTO complaint_detail (MSISDN,ACCID) VALUES ('$value','$value2');";
$run=mysql_query($sql);
}
Thanks all, hope you help me :)