php foreach possibly?

Discussion in 'PHP' started by neha2011, Apr 27, 2011.

  1. #1
    Okay so i have a database with items from a game im working on, and there is a column called "class", this contains the different item types (sword,axe,bow) etc... i was wondering if anyone could help me out? i want so it creates a button for each class...what i'm doing is making an armory for the item database,and so i wanted like it to create a button for each class? because right now i create like 12 buttons on my own and linked them to separate pages, and every time we add a new item class i have to go in and make new buttons
     
    neha2011, Apr 27, 2011 IP