in reply to Re: Whats wrong with this code.
in thread Whats wrong with this code.

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: Whats wrong with this code.
by davorg (Chancellor) on Feb 21, 2007 at 09:25 UTC

    So there's no way that we could have tracked down this problem as in both of the code extracts you gave us, the form method was contained in a variable.

    I (together with, I expect, most of the people who tried to help you) assumed that the same variable would have the same value in each example. Another good example of why it's a bad idea to make assumptions.

    Update: Actually, imp points out to me that we didn't make assumptions. You showed us code that had "post" for both methods.

Re^3: Whats wrong with this code.
by xorl (Deacon) on Feb 21, 2007 at 18:43 UTC
    Then why did the post method work just fine here