html - codnigter PHP echo form_submit error -
1 - dont pass variable e don´t login.... why ??
<?php echo form_submit('login', 'login', 'class="btn btn-primary"') ?>
2 - work
<button type="submit" class="btn btn-primary">login</button>
your "
, '
in wrong place change
<?php echo form_submit('login', 'login', 'class="btn btn-primary"') ?>
to
<?php echo form_submit('login', 'login',"class='btn btn-danger'");?>
Comments
Post a Comment