0
如何使用phpQuery获取具有特定名称的表单?按名称获取表格
<form method="POST" name="example">
<input type="hidden"
...
我尝试:
include 'phpQuery-onefile.php';
//example site with this form
$html = file_get_contents("http://www.example.com");
$pq = phpQuery::newDocument($html);
$a = $pq->find("form name=example");