Ruk
08-05-2005, 12:00 PM
Hi,
I'm helping to customize a help desk system written in Perl.
The system propmts the user for his company name (Our company is a conglomerate with many subsidiaries). This is stored in a MySQL database in a table named "customer_user" (field named "company_name").
When a user logs in an issue the value stored in the "company" field must be set as the default value in the combo box named "company :". So for each user the default value set in the combo box will depend on the company he was working at when he first registered.
I wish to know the code segment that will help me retrieve the company name from the database.
Thanks
Ruk
I'm helping to customize a help desk system written in Perl.
The system propmts the user for his company name (Our company is a conglomerate with many subsidiaries). This is stored in a MySQL database in a table named "customer_user" (field named "company_name").
When a user logs in an issue the value stored in the "company" field must be set as the default value in the combo box named "company :". So for each user the default value set in the combo box will depend on the company he was working at when he first registered.
I wish to know the code segment that will help me retrieve the company name from the database.
Thanks
Ruk