Buenas, tengo un duda, yo quiero introducir una fecha mediante una caja de texto normal y que se sume a otra caja de texto. Por ejemplo 29/11/2013 + 5 = 4/12/2013.
Como digo la fecha tiene que ser introducida por el usuario. He estado leyendo por la red y hay muchos ejemplos, pero no me sirves, necesito uno donde las variables vengan de un formulario.
Código HTML:
Ver original<form name="form_cria" method="post"> <?php
while($row = mysql_fetch_array($result)) {
printf("<tr><td> %s
</td><td> %s
</td><td> %s
</td><td> %s
</td><td> %s
</td><td> %s
</td></tr>", $row["puesta"],$row["fecha_incubar"],$row["fecha_mirar"],$row["fecha_nacer"],$row["fecha_anillar"],$row["fecha_separar"]);
}
mysql_free_result($result);
mysql_close();
?>
<td><input type="date" name="fecha_incubar"/></td> <td><input type="date" name="fecha_mirar"/></td> <td><input type="date" name="fecha_nacer"/></td> <td><input type="date" name="fecha_anillar"/></td> <td><input type="date" name="fecha_separar"/></td> <input type="submit" value="Registrar" />