Question: I recently made a huge error at work by updating the production database with wrong data. I created a schema against a production database, and created a table. I then got a copy of the table with only the data I replaced from the test server. example, I replaced all the users with type 6 in a column with type 45 in that column, on the production server. I now, have a copy of the only the data with type 6 in that specific column, which was close to 4000 users. I created a schema in the production server, and created the same name table, and copied the dataset in my new schema. 

My question is how do I replace the datasets, on the production database, that I mistakenly replaced 6 from 45, with the dataset from my schema database table, which only contains the users with 6 in that column?

I know I can do it manually, but it will take forever, and hope somebody can help me do it really quickly, and painlessly, SUCH AS A STORED PROCEDURE. Since I been in the dirt for these couple days? Thank you

Answer: 
This is the standard format for bootstrap checkboxes. You also want the `name` to represent what this form group is about (gender), and the `value` to be what the selected checkbox represents (male/female)

```
GENDER   
<div class="checkbox">
  <label><input type="checkbox" value="male" name="gender"> MALE</label>
</div>
<div class="checkbox">
  <label><input type="checkbox" value="female" name="gender"> FEMALE</label>
</div>

```

<https://jsfiddle.net/r6ehhhtd/1/>

```html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://getbootstrap.com/dist/js/bootstrap.js"></script>
<link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet"/>
<div class="form-group">
    <label class="sr-only" for="exampleInputPassword3">Password</label>
    <input type="password" class="form-control" id="exampleInputPassword3" placeholder="Password" name="password" >
  </div>
            <div class="form-group">
    <label class="sr-only" for="exampleInputPassword3">Password</label>
    <input type="password" class="form-control" id="exampleInputPassword3" placeholder="Password">
  </div>

         GENDER   
<div class="checkbox">
  <label><input type="checkbox" value="male" name="gender"> MALE</label>
</div>
<div class="checkbox">
  <label><input type="checkbox" value="female" name="gender"> FEMALE</label>
</div>

            <div class="form-group">
    <label class="sr-only" for="exampleInputPassword3">date of birth</label>
date of birth    
                <input type="date" class="form-control" id="exampleInputPassword3" placeholder="Password">
  </div>
  <button type="submit" class="btn btn-default" name="submit" value="submit">submit</button>
</form>

```
I modified your code to wrap the checkboxes and their labels inside a label tag. Also, I moved the checkboxes to before the label text. See code below:

```
<form>
    <div class="form-group">
        <label class="sr-only" for="exampleInputPassword3">Password</label>
        <input type="password" class="form-control" id="exampleInputPassword3" placeholder="Password" name="password" >
    </div>

    <div class="form-group">
        <label class="sr-only" for="exampleInputPassword3">Password</label>
        <input type="password" class="form-control" id="exampleInputPassword3" placeholder="Password">
    </div>
    GENDER   

    <div class="checkbox">
        <p> 
            <label><input type="checkbox" name="checkbox-male" value="gender"> MALE</label>
        </p>

        <p> 
            <label><input type="checkbox" name="checkbox-female" value="gender"> FEMALE</label>
        </p>  
    </div>

    <div class="form-group">
        <label class="sr-only" for="exampleInputPassword3">date of birth</label>
        date of birth    
        <input type="date" class="form-control" id="exampleInputPassword3" placeholder="Password">
    </div>

<button type="submit" class="btn btn-default" name="submit" value="submit">submit</button>
</form>

```