name字段:
Name: <input type="text" name="name" value="<?php echo $name;?>">
男单选项:
<input type="radio" name="gender"
<?php if (isset($gender) && $gender=="female") echo "checked";?>
value="female">Female