##1.
Place it in the directory of the ThinkPHP framework
Writing in the controller
// 导入phpQuery
Vendor('phpQuery.phpQuery');
$doc = \phpQuery::newDocumentHTML($fileContent);
There is a problem with phpQuery receiving the WeChat public account link addressUse phpQuery to parse html code like jqueryHow to use phpQuery to collect web pages_PHP tutorial
The above is the detailed content of TP3.2 introduces phpquery file instance sharing. For more information, please follow other related articles on the PHP Chinese website!