First, generate the HTML through a PHP script to interact with HTML and PHP. After that, paste information from HTML to PHP.