Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Update Record Wierdness

Explorer ,
Oct 15, 2007 Oct 15, 2007

Copy link to clipboard

Copied

Hi Folks,

I have an update form which when submitted doesn't work. I check the database and nothing has changed. If I then go back in the browser to the form and click teh submit button it works perfectly and the record is updated. It's the same every time.

Without firing up all the code I just wondered if anyone could give me an idea what could be causing the problem.

Cheers


Dave
TOPICS
Server side applications

Views

366
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 15, 2007 Oct 15, 2007

Copy link to clipboard

Copied

mac-in-the-mountains wrote:
> Hi Folks,
>
> I have an update form which when submitted doesn't work. I check the database
> and nothing has changed. If I then go back in the browser to the form and click
> teh submit button it works perfectly and the record is updated. It's the same
> every time.
>
> Without firing up all the code I just wondered if anyone could give me an idea
> what could be causing the problem.
>
> Cheers
>
>
> Dave
>

Why do you say its updated? Are you shown the updated record, or a
success message?

Steve

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 16, 2007 Oct 16, 2007

Copy link to clipboard

Copied

when I check the MySQL database directly I can see that on the first attempt nothing happens but always on the second attempt the record is updated. Happens every time.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 16, 2007 Oct 16, 2007

Copy link to clipboard

Copied

LATEST
mac-in-the-mountains wrote:
> when I check the MySQL database directly I can see that on the first attempt nothing happens but always on the second attempt the record is updated. Happens every time.

That is very odd, can you post the code?

Steve

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines