呵呵,php
print("
".print_r($_POST,true)."");
?>
点击send1,输出是:
Array(
[subject_1_1] => subject1_1
[subject_1_2] => subject1_2
[subject_3] => subject3
[subject_4] => subject4
[send] => Send1
)
点击send2,输出是:
Array
(
[subject_1_1] => subject1_1
[subject_1_2] => subject1_2
[subject_3] => subject3
[subject_4] => subject4
[send] => Send2
)
这样,就可以根据submit的值,进行不同的操作了.
继续学习...
没有评论:
发表评论