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
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