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;}?>