Jump to content

Best way to call dynamic content for multiple catagorys


zonerdck

Recommended Posts

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.