saving the selected item

hello i made a select list like this <select name="status"> <option value="1">Married</option> <option value="2">Single</option> <option value="3">Divorced</option> </select>

how can i save the selected item into a field "stat" of the table "user"?

Ghazaleh Mir wrote:

hello i made a select list like this <select name="status"> <option value="1">Married</option> <option value="2">Single</option> <option value="3">Divorced</option> </select>

how can i save the selected item into a field "stat" of the table "user"?

See the documentation for select at

Stephan