Is it possible to fopen() an html file, update / write in an html file with PHP? I would like to update / write in specific div tags. I know it' s possible to write in a given file but am not sure if this can be done within div tags as well.
I know a workaround, where PHP writes in an htmlFileA.html and uses innerHTML in htmlFileB.html to display htmlFileA.html within it. Is it possible not to use htmlFileA.html and update directly in a given div tag found in htmlFileB.html ?