PHP Manual: DOMDocument->saveHTMLFile()
DOMDocument->saveHTMLFile()
(no version information, might be only in CVS)
DOMDocument->saveHTMLFile() -- Dumps the internal document into a file using HTML formattingDescription
class DOMDocument {int saveHTMLFile ( string filename )
}
Creates an HTML document from the DOM representation. This function is usually called after building a new dom document from scratch as in the example below.
Examples