Re: Valor por defecto.
| From: | Ariel Nardelli | Date: | Tue, 10 Apr 2001 23:00:57 +0000 |
| Subject: | Re: Valor por defecto. | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-8935@lists.php.net to get a copy of this message | ||
El Fri, 6 Apr 2001 19:16:49 -0300
Pablo Pasqualino <coolio@mdq.com> decia:
PP> AN> <div align="center">
PP> AN> <input type="text" name="mes"
PP> AN> maxlength="2" size="2" value=2">
PP> AN> </div>
PP> <input type="text" name="mes" maxlength="2"
PP> size="2" value=2" value="<?php echo $mesactual; ?>">
PP>
PP> Por el nombre de la variable, supongo que no tendras problemas asi, pero si la
PP> variable tuviera comillas (' o "), te conviene utilizar addslashes($mesactual);
Asi me funciona perfectamente muchisimas gracias!!!
--
Saludos,
Ariel Nardelli <ariel@trcnet.com.ar>
http://www.reconquista.com.ar