Matt Neimeyer wrote:
>> I think it's your PHP application; how did you "debug" your application?
> All this is doing is letting our customer add their contacts to the
> This is on the "quick add" form and asks them to enter a first and last
> and an email.
> I debugged by re-writing it temporarily to do this...
> $SQL = 'INSERT INTO Contacts (ContFirst,ContLast,ContEmail,UserID)
> VALUES ("'
> echo $SQL;
> $result = mysql_query($SQL,$db);
> On the theory that the echo shouldn't change the contents of the $SQL
> Then on the same client machine, I open both browsers and launch the
> page. In
> both browsers I can see the exact same statement (including the value of
> on the screen but in IE it works and on FireFox it doesn't.
> As soon as I see the SQL on the screen I query directly (not through
> PHP) to
> pull out the records and see that UserID is missing.
If UserID is missing ($MyID) track back and see what sets this. If $MyID
is missing, it may/may not be the browsers fault. (You've not given us
enough code to really help. I have 20 or so 'simple form' apps here all
work fine with both IE and FireFox (inserts/updates/deletes/selects) in
both PHP and MSASP. )
Can you paste in both statements fully filled out from both browsers? So
we can see what the data is looking like (same data.)
As an aside, you may want to be doing SQL injection checking or
sanitizing if you aren't already doing so.