Goutte PHP在未提交输入的情况下不会提交表单
我有一张没有提交输入的表格:Goutte PHP在未提交输入的情况下不会提交表单,php,forms,goutte,domcrawler,Php,Forms,Goutte,Domcrawler,我有一张没有提交输入的表格: <form method="post" action="index.php?step=UpdateReport" name="form1"> <input type="hidden" name="level" value ="UpdateReport"> <input type="image" source="xxxx" name="orderFree"> </form> 我又得到了同样的表格。如果转储$form对象
<form method="post" action="index.php?step=UpdateReport" name="form1">
<input type="hidden" name="level" value ="UpdateReport">
<input type="image" source="xxxx" name="orderFree">
</form>
我又得到了同样的表格。如果转储$form对象,则只会得到一个输入。
有没有办法让我提交这份表格?提前谢谢大家我也有同样的问题
$form = $crawler->filter('form')->form();
$crawler = $client->submit($form);
echo $crawler->html();