为AWS上托管的PHP脚本创建HTML GUI
我有一个托管在AWSEC2实例上的PHP脚本 我使用ssh ec2实例,打开脚本,编辑日期和过滤器,每月运行脚本,为许多公司生成发票 我希望创建图形用户界面,将做同样的事情。下面是我的HTML代码。我想在这个HTML中关联我的invoice.php,以捕获日期并从表单中筛选,并在点击go时运行脚本。我应该用什么为AWS上托管的PHP脚本创建HTML GUI,php,html,user-interface,Php,Html,User Interface,我有一个托管在AWSEC2实例上的PHP脚本 我使用ssh ec2实例,打开脚本,编辑日期和过滤器,每月运行脚本,为许多公司生成发票 我希望创建图形用户界面,将做同样的事情。下面是我的HTML代码。我想在这个HTML中关联我的invoice.php,以捕获日期并从表单中筛选,并在点击go时运行脚本。我应该用什么 <p>Please enter the date range along with time and company filter and click on "Go" to
<p>Please enter the date range along with time and company filter and click on "Go" to run invoice script</p>
<form action="/action_page.php">Start Date (date and time): <input name="start_time" type="datetime-local" /><br><br>
End Date (date and time): <input name="end_time" type="datetime-local" /> <br>
<form>
<input type="radio" name="company" value="All Companies" checked> All Companies<br>
<input type="radio" name="company" value="xyz company Only"> Control Risk Only<br>
<button type="button" id="4" class="btn btn-success">Go</button>
请输入日期范围以及时间和公司筛选器,然后单击“转到”运行发票脚本
开始日期(日期和时间):
结束日期(日期和时间):
所有公司
仅控制风险
去
步骤1:修复您的
标签
步骤2:为表单提供一个方法
步骤3:为您的按钮提供一种类型的submit
<form action="/action_page.php" method="post">
Start Date (date and time): <input name="start_time" type="datetime-local" />
<br><br>
End Date (date and time): <input name="end_time" type="datetime-local" />
<br>
<input type="radio" name="company" value="All Companies" checked> All Companies
<br>
<input type="radio" name="company" value="xyz company Only"> Control Risk Only
<br>
<button type="submit" id="4" class="btn btn-success">Go</button>
</form>
“我应该用什么”真的很广泛。你能具体谈谈你有什么问题吗?首先,你的
标签都错了。
$_POST["start_time"];
$_POST["end_time"];
$_POST["company"];