Gossamer Forum
Home : Products : DBMan SQL : Discussion :

format for build_select_from_db?

Quote Reply
format for build_select_from_db?
I need a quick answer if possible!

Converting from DBMan to DBManSQL and need to
change a select field to use

sub build_select_field_from_db

I'm not sure of the syntax in my html.pl file

I think I need $column, $value, $name

right now I have:
&build_select_field_from_db ("Site",$rec{'Site'},"Site")
and am getting "no fields specified!) error
is $column the column number?

I want the field "site" from a particular table.
Thanks!

PS - is there a mod that does related select fields from a db???? I will need that next. for the "room" field at any site
Lynette
Hollister, Ca