F
F
Fuch2020-05-02 13:24:21
PHP
Fuch, 2020-05-02 13:24:21

Who can explain how it works?

I hope only for the responsive. I explain:
1) In HTML, you can create a table and enter content into it, for example, I create a table of apples, pears and oranges (this is just an example, actually a list of 13 things)
2) How to use PHP to create this table so that you can add later ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
Uno, 2020-05-02
@Noizefan

$file = file_get_contents("file.html");
$newHTML = preg_replace(); //сам прочитай как работает эта ф-ия
file_put_contents("file.html", $newHTML);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question