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");