Hi,
I read this http://webmagic.hypermart.net/dbman/field24.txt and found that its exactly what I want to do, the reply to this was
"To get the info from the users database, use:
&switch_to_users;
%rec2 = &get_record($db_userid);
&switch_to_whatever it was before
in sub html_record_form, after
my (%rec) = @_;
Then use $rec2{'FileName'} for the information from the users database."
But when I put this in, the cgi just falls over. Is this the right script to add? Am I adding it right? All I want is a dropdown menu dependant on the user.
Any help would be greatly recieved
Ben
ben@hot-key.com
I read this http://webmagic.hypermart.net/dbman/field24.txt and found that its exactly what I want to do, the reply to this was
"To get the info from the users database, use:
&switch_to_users;
%rec2 = &get_record($db_userid);
&switch_to_whatever it was before
in sub html_record_form, after
my (%rec) = @_;
Then use $rec2{'FileName'} for the information from the users database."
But when I put this in, the cgi just falls over. Is this the right script to add? Am I adding it right? All I want is a dropdown menu dependant on the user.
Any help would be greatly recieved
Ben
ben@hot-key.com