Как получить форму с определенным именем, используя 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");