Murray

I'm guessing that IE sends $recid = '' whereas firefox doesn't send it at all because it's an empty form field.

Try checking for empty($recid) instead - that way you can check that it not only exists (as in isset) but also that it has a value (i.e. not '', NULL, 0 or FALSE)

Hope this helps

Cheers

crhis

Murray @ PlanetThoughtful wrote:
Hi Jason,

I wasn't under the impression that posting 18ish lines of code would be
thought of as inconsiderate, but thank you for the pointer all the same.


Btw, have you noticed that your signature is about 12 lines long? I assume
that goes out on all of your messages, not just the once-off of my post?

Laugh, don't mind me, I'm as much of a hypocrite as the next person.

Thank you again.

Much warmth,

Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
One quirky comment at a time.

-----Original Message-----
From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 November 2004 5:01 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Form executes differently in IE than in FireFox?


On Wednesday 03 November 2004 09:55, Murray @ PlanetThoughtful wrote:

Please be considerate by NOT posting your COMPLETE code. Construct a
*concise* example that sufficiently illustrates your problem.



However, the same form, submitted with what should be a blank recid hidden
field value, is being treated differently - in IE it's being treated as
though it's an edit, while in FireFox it's being treated as I expect it

to,

as an insert.


var_dump($_POST['recid']) and show what you're getting from IE and Firefox.


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to