+ 1

How do i create a unique php page for each row in a mysql database?

I have a mysql database connected with php. However, I want each row in the database to be a unique page. Could anyone please provide some sort of overview for how this would work. 

8th Sep 2017, 11:02 AM
Peter
Peter - avatar
1 Answer
0
create column with type of page and then just include php file with this cell as name of file example: include ('pages/' . $page_type . '.php');
8th Sep 2017, 12:11 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar