Goldenweb.it homepage

ANNUNCI | DIRECTORY | FONTS | ICONE | NEWSGROUPS | TOP25 | WALLPAPERS

English version  

100rex
Con tanti casinò online può diventare difficile scegliere quelli sicuri e affidabili, quelli che sono autorizzati ad operare in Italia e che rispettano le regole e le leggi. 100rex è affiliata alle piattaforme William Hill, 888.it, Titanbet, Party
Piscine
La guida informa sulle varie tipologie di piscine presenti in commercio offrendo una panoramica dettagliata sui vari modelli, comprese le minipiscine.

GoldenWeb.it Directory "Premium" Links - Il tuo link qui...



DOMDocument->saveHTMLFile

(no version information, might be only in CVS)

DOMDocument->saveHTMLFile --  Dumps the internal document back into a file using HTML formatting

Description

string DOMDocument->saveHTMLFile ( string filename)

Creates an HTML document from the dom representation. This function usually is called after building a new dom document from scratch as in the example below.

Esempio 1. Creating a simple HTML document header

<?php
$doc
= new DOMDocument("1.0");
$root = $doc->createElement("HTML");
$root = $doc->appendChild($root);
$head = $doc->createElement("HEAD");
$head = $root->appendChild($head);
$title = $doc->createElement("TITLE");
$title = $head->appendChild($title);
$text = $doc->createTextNode("This is the title");
$text = $title->appendChild($text);
$doc->saveHTMLFile("/tmp/test.hmtl");
?>

See also DOMDocument->loadHTML(), DOMDocument->loadHTMLFile() and DOMDocument->saveHTML().