Re: QF: setDefaults() weird behaviour
| From: | Toni | Date: | Fri, 19 Nov 2004 15:23:51 +0000 |
| Subject: | Re: QF: setDefaults() weird behaviour | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15681@lists.php.net to get a copy of this message | ||
Hi,
Yes, the values are really saved, but ...
I had only tried with firefox (1.0) and didn't work, but now I'm trying
with konkeror (3.3.1) and works fine!
Someone knows why?
Thankyou all.
El vie, 19-11-2004 a las 17:56 +0300, Alexey Borzov escribió:
> Hi,
>
> Toni wrote:
> > I have developed an application to maintain a database of educational
> > materials.
> > I have a php file to update the registers in the database, which is a
> > QFC.
> > When I visit the page the form is displayed with the fields filled with
> > data in the db. That's ok.
> > I change the "language" field (select) to a different value
> > [spanish->english] and submit the form. Ok.
> > The process function save the values in the database and show me a link
> > to another page. Ok.
> > I visit again the update form and the selected value in the language
> > field is the old one [spanish]. Not OK!
> >
> > Why get I this value?
>
> No idea, I briefly looked at your code and there are no obvious QFC-related
> problems. Did you check whether the new value is *really* saved to the database?
>