OK I am trying to create a download manager script, and everything is fine but one thing: On the add a file form I have it so that you can choose wich category to insert the file into from a drop down menu, the menu works fine unless there are no files already avilable, If nothing has been added yet then none of the categories will show up in the menu to select from.
Now this menu also serves dual purpose, it inserts the category id number for the category selected into an xid field in the file database for later use.
Anybody got any ideas on this?