Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/10/2013, 13:59
bathorz
 
Fecha de Ingreso: agosto-2013
Mensajes: 150
Antigüedad: 11 años, 5 meses
Puntos: 29
Respuesta: Realizar consulta con un formulario

Tal vez te sirva month de html5
Código PHP:
Ver original
  1. <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post">
  2.    <input type="month" name="mes" value="<?= date('Y-m') ?>">
  3.    <!--  -->
  4.    <input type="submit" value="Enviar" name="enviar">
  5. </form>
  6.  
  7. <?php
  8. echo $_POST['mes'];
  9. ?>