Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

add select list from data in another table

Quote Reply
add select list from data in another table
Basically, I have a custom table that I want to use as a relation for the Links table. The Links table has a "style_fk" field, which corresponds to "styleID" in the custom table. What I need to do is to generate a select list from the "styleID" and "styleName" fields from this table, so the user can select the proper style. (I realize I could have made the style column an ENUM and listed all the options there, but it seems like that might get messy since there are already 50+ choices, and I may want to add more columns to the custom table later anway.)

It would also be extremely helpful if this would work in the admin page as well.
Subject Author Views Date
Thread add select list from data in another table lostinva 3625 Sep 14, 2009, 1:44 AM
Thread Re: [lostinva] add select list from data in another table
lostinva 3424 Sep 16, 2009, 10:10 AM
Post Re: [lostinva] add select list from data in another table
Andy 3430 Sep 16, 2009, 10:15 AM