<!DOCTYPE HTML> <html> <head> <title>Untitled</title> <meta charset="utf-8"> </head> <body> <table> <tr> <td>1</td> <td>1</td> </tr> <tr> <td>2</td> <td>2</td> </tr> </table> </body> </html>
For example, there is a stat.html file with a table in it. Is it possible to add php to the file, namely to the table after
<tr> <td>2</td> <td>2</td> </tr>
next tr? <tr> <td> 3 </ td> <td> 3 </ td> </ tr>
Oleg B, not bad =)
Unfortunately this is not a ride. In the task you need to generate a static html file. And update it every time.
There is a file in the table. For example, in the table data referring to links on the site. When a link is added to the site, you need to take this file, open and add more data to the end of the table, that is, 1 tr.
Many thanks, the issue is resolved.