I am not sure how to explain this but here it goes. I have a page that is displaying information from a database as you can see on this page. All the information that is being outputted in the HTML is coming from the database.
http://mesquitechristmas.com/local/displays.php
Now notice the URL it is displays.php. I need to be able to use this same template but but change the output of data for each entry in the database. For example taking the URL from above and making it
http://mesquitechristmas.com/local/displays.php?id=2 for that display
Then to show another display using the same template and url it would change to
http://mesquitechristmas.com/local/displays.php?id=3 while all using the same template only the data that is being shown it is is changing.
Noticing the only thing that changes is the id number which is calling a certain row in the data base. Now each row in the database has a column called ID and it is auto increment. Now I know how to call a page within a php page but how do you do it so that you can use the same template but change what is outputted just from changing the URL ID from the database. I hope that makes sense.
If you need another example look at this site.
http://www.christmaslightfinder.com/displays.php?id=322
Then change the number at the end to like 323 or 324 etc. You will know the page stays the same only the data changes on the page changes. So I need to know how to do that by using the same template but changing the data by the id of the database and displaying it in the URL.
-Thanks