text: Q:
  
  Make a placeholder % sign pretend to stay
  
  This is a peculiar question but, I have a input field, like this, 
  <div class="<?php if(form_error('interest')!= null){echo ' has-error';} ?>">
     <h4><?php echo lang("offer_of_intrest"); ?></h4>
     <input class="form-control" type="text" value="<?php echo set_value('interest'); ?>" placeholder="1%" name="interest">
  </div>
  
  Where the placeholder says 1%, but the input only accepts whole numbers ( 1 or 2 or 3 so on.. ) , What I want to do is somehow keep the percentage sign inside the place holder but make the user enter any number but keeping the percentage sign , but on submit of the button only the number should go , not with the percentage sign. Since in mysql it only accepts decimal places. Its like giving the user a fake percentage sign in placeholder so they dont get confused and actually enter 1( PERCENT) in the input field. , I hope this is understand able. 
  
  A:
  
  Since you seem to be using Bootstrap, I'd remove the % from the placeholder and use an input-group and an input-group-addon:
  
  <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.css" rel="stylesheet" />
  <div class="row">
    <div class="col-xs-9">
      <form class="form-inline">
        <div class="form-group">
          <label class="sr-only" for="exampleInputAmount">Percentage:</label>
          <div class="input-group">
            <input class="form-control" type="text" placeholder="1" name="interest">
            <div class="input-group-addon">%</div>
          </div>
        </div>
      </form>
    </div>
  </div>
  
  