I have a simple php/html form wich inserts data to my mysql database.
I have a column on my database called type.
When a form is submitted with various values I want to be able to check the value of those submitted fields and add a value to the column type based on those values:
If the submitted form field field1 has the value value1 and field field2 has the value value2 then insert value3 to column type on my database.
You can manage this with code, if I understand your question right.
Remember, it is a good idea to check the post values, before insert or update some values in the database.
I am using post for the form method, if you use get, replace $_POST with $_GET