Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/03/2009, 08:44
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses
Puntos: 2135
Respuesta: problema con el explorer

Pues el problema es que estas calculando directamente dentro del textbox, hazlo fuera y no vas a tener problema:
Código php:
Ver original
  1. <?php
  2. if(!isset($_POST["hasta"])) {
  3.     $sFecha = date("d-m-Y");
  4. } else {
  5.      $sFecha = $_POST["hasta"];
  6. }    
  7. ?>
  8. <td><font size = 3>Hasta</font><input type="text" name="hasta" id="hasta" value="<?php echo $sFecha; ?>" /></td>

Saludos.