• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
no me responde el boton submit ni reset

#1
Buenas, porquee no me responden los botones de submit y reset?

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>

  <div class="content-wrapper">

    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row">
          <div class='col-4 offset-4' align='center'>
            <!-- /.row (main row) -->
          <p class='display-5'><?php echo TITLE.' - '.VERSION; ?></p>
          <img src="assets/imagenes/dollar-symbol-3.png" alt="AdminLTE Logo" width="110" height="110" style="opacity: .4">
      </div>
  </div>
    <div class='row'>
      <div class='col-4 offset-4' align='center'>
    <forn method='post' action=<?php echo base_url(); ?>'main'>       
      <div class='card' style="width: 25rem;">
          <h5 class="card-title"> Ingreso </h5>
       
  <div class='card-body' align='center'>
 
      <input type='text' value='Usuario: ' readonly size='5' class='inputlogin'>
      <input type='text' name='nombre' size='20' class="form-control-fixed" placeholder='Nombre de Usuario'><br>
      <input type='input' value='Clave: ' class='inputlogin' readonly size='5'>
      <input type='password' name='password' size='20'  class="form-control-fixed" placeholder='Clave'><br>
      <hr style='height: .25em'>
      <button type='submit' class='btn btn-primary'>Ingresar</button>
      <button type='reset' class='btn btn-danger'>Cancelar</button>
 
  </div>
      </div> 
    </forn> 
      </div><!-- /.container-fluid -->
  </div>
</div>
</div>
Reply

#2
(04-19-2020, 04:19 PM)jltabbia Wrote: Buenas, porquee no me responden los botones de submit y reset?

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>

  <div class="content-wrapper">

    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row">
          <div class='col-4 offset-4' align='center'>
            <!-- /.row (main row) -->
          <p class='display-5'><?php echo TITLE.' - '.VERSION; ?></p>
          <img src="assets/imagenes/dollar-symbol-3.png" alt="AdminLTE Logo" width="110" height="110" style="opacity: .4">
      </div>
  </div>
    <div class='row'>
      <div class='col-4 offset-4' align='center'>
    <forn method='post' action=<?php echo base_url(); ?>'main'>       
      <div class='card' style="width: 25rem;">
          <h5 class="card-title"> Ingreso </h5>
       
  <div class='card-body' align='center'>
 
      <input type='text' value='Usuario: ' readonly size='5' class='inputlogin'>
      <input type='text' name='nombre' size='20' class="form-control-fixed" placeholder='Nombre de Usuario'><br>
      <input type='input' value='Clave: ' class='inputlogin' readonly size='5'>
      <input type='password' name='password' size='20'  class="form-control-fixed" placeholder='Clave'><br>
      <hr style='height: .25em'>
      <button type='submit' class='btn btn-primary'>Ingresar</button>
      <button type='reset' class='btn btn-danger'>Cancelar</button>
 
  </div>
      </div> 
    </forn> 
      </div><!-- /.container-fluid -->
  </div>
</div>
</div>

Estimado amigo, esta mal el </forn> debes corregirlo por <form>
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.