Re: Disabled INPUT-Tags?!

From: Date: Sat, 15 Feb 2003 11:45:29 +0000
Subject: Re: Disabled INPUT-Tags?!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135657@lists.php.net to get a copy of this message
This is an HTML question, not a PHP question, but try adding a hidden field next to the disabled one. menphrad wrote:
Hi! I created a form that handles dates, e.g. a DATE_START and a DATE_END. The "DATE_START" is filled out automagically by a PHP-function and the field should be *disabled*: <input type="text" name="datum_start" size="10" value="<? echo date("j.n.Y", $jetzt); ?>" disabled="true"> But since this field is disabled it is NOT handled by the PHP-Script that writes into the MySQL-DB! How can I now solve this problem, that the field should be disabled BUT inserted into the DB? Best regards, -- <? $name = "menphrad"; $email = "email@menphrad.net"; $url = "http://menphrad.net"; $countrycode = "at"; ?>
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#135657) next »