Re: Re: setDefaults question
| From: | Ke'tszeri Csaba | Date: | Tue, 29 Jul 2003 11:09:44 +0000 |
| Subject: | Re: Re: setDefaults question | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6890@lists.php.net to get a copy of this message | ||
The '93' is a form _variable_ and variable names should not start with
numbers. Consider to rename it to avoid difficoult-to-debug errors.
Csabii
>> $this->defaultFormValues['slug'] = 'blah';
>> $this->defaultFormValues['93'] = '129';