R
R
Roman Sergeev2017-06-09 10:50:25
PHP
Roman Sergeev, 2017-06-09 10:50:25

Generate a new page based on tables in mysql database. ?

How to automatically add a page to the site and database.?
There are 6 tables in the database. I brought them to the site. Now you need, when I create a new table in the database and fill it in, after that, automatically display a new page on the site

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Lero, 2017-06-09
@Corazonroto

as an option - through show tables and a cycle.
That is, you get a list of tables through show tables;
Then run the entire list in a loop and generate a new page for each table and display its data on this page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question