how can I develop a multipage website?
should I develop all other linked pages in same way I created the homepage?
I am intending to develop a PHP website for a store and I wanna link each products to their individual pages. but since there are lots of products its kinda tedious to create individual pages each product.
SO Instead of creating many different pages for each product can I create one dynamically changing page and use it for all the product links?I mean can I create a single page whose basic layout will always remain the same but only few content will change in accordance to the selected product.
You can implement a single page, lets call it
product.php. Then you can use theGETmethod to dynamically call the page. It would look like thisproduct.php?id=1whereid=1is the primary key of the product in a MySQL table. And you could fetch various products just changing the id in url.