如何使用PHP获取提交时多个选中复选框的名称或ID?以下是示例表单.谢谢.
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<input type="checkbox" name="orange" id="orange">
<input type="checkbox" name="apple" id="apple">
<input type="checkbox" name="sky" id="sky">
<input type="checkbox" name="sea" id="sea">
<br>
<br>
<input type="submit" name="Submit" value="Submit">
</form>
Run Code Online (Sandbox Code Playgroud) 我想在视图控制器堆栈上返回两个级别.我按顺序有三个segue:Show,Show,Present Modally.有一个导航控制器正在使用中.从我的第四个观点来看,我想回到第二个视图.我试过用
self.presentingViewController?.presentingViewController?.navigationController?.popViewControllerAnimated(false);
和
self.presentingViewController?.presentingViewController?.dismissViewControllerAnimated(false, completion: nil);
第二个只有当第二个和第三个被称为"模态呈现"时才有效.如何让他们与解雇和流行音乐一起工作?