getHtml() Get the source code of the target page


getHtml( ) ​​method

Return value: string

Get the source code of the target page, mainly for debugging.

Prototype:

getHtml($rel = true)

Parameters: $rel

Type:bool
Default value:true

When the parameter is true, return phpQuery to finally see HTML source code;
When the parameter is false, return the HTML source code before passing it to phpQuery.