zonerdck Posted May 13, 2009 Share Posted May 13, 2009 So basically I have a web page with a list of catagories. I want my users to ba able to click a catagory and be taken to that catagories page. The pages will have pictures and videos that will be dynamic on them (called from mysql database with PHP) my question is what is the best thing to do to produce these pages. 1 : make a new html page for each catagory 2 : Create a standard format page and insert all the content in it dynamically through the link somehow. 3 : smokething completely different. I am pretty lost here any help would be great. Thanks. If you can explain why your idea would be the best that would be great to. Link to comment https://forums.phpfreaks.com/topic/157916-best-way-to-call-dynamic-content-for-multiple-catagorys/ Share on other sites More sharing options...
Ken2k7 Posted May 13, 2009 Share Posted May 13, 2009 I would just have one PHP page if that's all it needs. Just do something to the query string and have that tell you what to display. For example, you can have a query string with c=# where c = category and # = the category number. Use PHP $_GET to get that number and run the SQL. If all you have are categories, that'll do it. Link to comment https://forums.phpfreaks.com/topic/157916-best-way-to-call-dynamic-content-for-multiple-catagorys/#findComment-833010 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.