Welcome Guest, Not a member yet? Register   Sign In
unable to sumit my form
#1
Bug 

Hello everyone 

When I click on Submit, the page refresh, but it wouldn't redirect me to add_env controller. 

Here is my code

 
PHP Code:
        <?php 
         
echo $this->load->helper(array('form''url'));

 
        echo form_open('add_env'); ?>

           <div class="col-md-10"> 
            <label>Environment Name</label>
            <input type="text" class="form-control input-sm" style="width:50%">
          </div>
            <div class="col-md-2">
             <?php echo form_submit('submit''Submit');  ?>
            </div>
        <?php echo form_close()?>
           </div> 
I'm really not sure what is going on, any ideas?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB