i have a simple form using codeigniter and there is a submit button:
<?php echo form_open('myController/add'); ?>
<input type="text" class="form-control" name="myInput" value='abc'>
<button type="submit" name="Submit">Save</button>
<?php echo form_close(); ?>
but it doesn't contain Submit when i run this code:
function add(){
print_r($_POST);
}
here is the result:
Array ( [myInput] => abc )
i think the result should be like this:
Array ( [myInput] => abc [Submit] =>)
please help.. thank you.