if(!empty($_POST['submit1'])) {
$fileValue = "file1";
} else if(!empty($_POST['submit2'])) {
$fileValue = "file2";
}else if(!empty($_POST['submit3'])) {
$fileValue = "file3";
}else if(!empty($_POST['submit4'])) {
$fileValue = "file4";
}else if(!empty($_POST['submit5'])) {
$fileValue = "file5";
}
转载于:https://www.cnblogs.com/yjx-Blog/p/5787453.html