I get what you are saying, but the userID in session should go into the users table DEPENDED on what is chosen in the menu/list
If dealer(in menu/list) sessionid should be inserted in usertable field DEALER
If Salesperson (in menu/list) sessionid should be inserted in usertable field Salesperson...
How can I do this ??
again my question is:
How do I on "Insert" tell the system, that if I selected dealer it should insert the id into the dealer field of users table
and if I select salespersion, it should insert the id into salesperson instead ?