答案 0 :(得分:0)
您要插入所有用户名吗?像这样吗
//first remove your implode code
foreach($_POST['username'] as $username){
$sql = "INSERT INTO events (event, date, local, disc, username) VALUES ('$event','".date('d-m-Y', strtotime($date))."', '$local', '$disc', '$username')";
//call the insert query
}