categorys - best way to + other php stuff

Joined
12 Feb 2006
Posts
17,643
Location
Surrey
for my website (directory, built just to learn new php skills), on the left bar, i have a space for categorys to go, yet i have no clue on how i'd do this and the best way to.

Im after some advice on what people do when making categorys e.g. list of different websites categorys? my best guess is i would number each page when naming it and then have on the left bar when its listed, give each a value or something? same as when its listed in a drop down menu.

other stuff to come after this has been sorted
 
no one with advice for this?

im also wondering if its possible to make a form that has a radio box or drop down menu and it only selects one. if thats a bad explanation, which im sure it is, i want it for when people submit a website, they can either choose to enter it in a current category selected from a drop down menu, or to submit it with new category which they would also submit. is that any better?
 
I'm not sure i quite understand what you want to do in the first post. Have you an example of this?

For the form, i would just use php to detect whether the space had been filled by the user and use that if it has, if not, it would use whatever was selected in the drop down box. If neither are selected then you would ask the user to try again.
 
Back
Top Bottom