Quotidien Shaarli

Tous les liens d'un jour sur une page.

September 15, 2021

Building a Form in PHP Using DOMDocument | CSS-Tricks
thumbnail

PHP 5 added the DOM module to it’s roster of Not So Strictly Typed™ types. Its main entry point is the DOMDocument class, which is intentionally similar to the Web API’s JavaScript DOM. If you’ve ever used document.createElement, this will probably feel quite familiar.