Jump to content

[SOLVED] different categories on 1 php page.


justAnoob

Recommended Posts

Hi..... I have a category box with categories listed in text like so

 

Category Selection

category 1    ---$category1 = cat1

category 2    ---$category2 = cat2

category 3

category 4

category 5

 

Each category pulls info from mysql and displays it. And each category has its own page.....category1.php  category2.php, category3.php,,, and so on....What I'm looking to do is just have 1 php page that could display all the categories, depending which one the user clicks on... I guess my question is how do I create a variable off of some text that has a link attached to it...Look above at the categories to see what I mean.

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.