Php automatically generates txtphp automatically generates txt for the content in a div label. it is a line, and the txt file is saved as a line and the space is removed. how can this be written? solution ------------------ if there is less div content, you can use this method, large data volumes are not recommended. If you can, you can still display the div content from the background, you can write the content into the file before the browser display. HTMLcode & lt ;! -- Php automatically generates txt
Php automatically generates txt for the content in a p tag.
Is one row, and the txt file is saved as one row.
Remove spaces.
How can this be written?
------ Solution --------------------
If the content of p is small, this method can be used. it is not recommended for large data volumes.
If yes, you can still display the content of p from the background, then you can write the content into the file before display in the browser.
HTML code