CodePudding user response:
In the application side can be converted to 1 and 2 firstCodePudding user response:
On the interface should not let user input, to a drop-down box, similar web page version of the source code:& lt; Select id='Gender' name='Gender' & gt;
Users to see or choose is male, but the corresponding value is 1, to the background is also 1, this kind of treatment is convenient,