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

Re: Select field that pulls data from another table

Quote Reply
Re: Select field that pulls data from another table In reply to
take a look at how db_gen_category (or whatever it's called now) works. You can follow it backwards from the add.cgi program.

In short, you need to make a select call for the field you want from the table you want tablename.fieldname, then put the results into a drop-down box "token" and include that on your form. Remember, a select box has two parameters, the visible name, and the passed back value, so you need to set both appropriately.



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Subject Author Views Date
Thread Select field that pulls data from another table scooley 2614 Jun 25, 2001, 9:17 PM
Post Re: Select field that pulls data from another table
pugdog 2544 Jun 26, 2001, 6:34 AM
Thread Re: Select field that pulls data from another table
Stealth 2537 Jun 29, 2001, 11:28 AM
Post Re: [Heckler] Select field that pulls data from another table
Nomada 2473 Mar 21, 2002, 4:16 AM