Help! Quick question on creating a category page...

Discussion in 'PHP' started by SeabirdScripts.com, Jan 8, 2011.

  1. #1
    I currently have a database that contains the table 'categories' and rows "category_id" and "category_name". I also have another table called "data" and one of the rows in data is "category_id". What I am trying to do is create a category page that will display the category list and when you click on a category it will display the results from data for that category id. Any help? thanks!!
     
    SeabirdScripts.com, Jan 8, 2011 IP
  2. joshua_

    joshua_ Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What platform are you on? PHP/MySQL? I've done this before, it isn't too hard. Just call to the database for whichever table has the cat. AI ID.
     
    joshua_, Jan 11, 2011 IP
  3. SeabirdScripts.com

    SeabirdScripts.com Greenhorn

    Messages:
    88
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #3
    Correct. Php and Mysql... Can you generate a sample code for me please?
     
    SeabirdScripts.com, Jan 11, 2011 IP