1. php添加多條數據(求大神給實例)
<?phpif(isset($_POST)){ $sql='INSERT坦伍INTOuu(uu_name,uu_phone)VALUES讓散或'掘弊; foreach($_POST['uu_name']as$k=>$v){ $sql.="('$v','".$_POST['uu_number'][$k]."'),"; } $sql=substr($sql,0,-1); //執行這條sql語句就可以了 echo$sql;}?>