I was trying to debug a small problem on my website when I quickly
discovered another "major" one where every time I used a form that
caused an insert to my database I was getting duplicate records
inserted. Further, the screen would refresh showing me all of the
records in the table after the insert - and the record only appeared
once. But if I came back to the page later, it would show the
duplicates. So, the second insert would happen AFTER the page had
rendered.

2 hours later I discovered the problem was not in my code, but rather
only occured when I used the form in Firefox with Firebug open. I
guess that Firebug causes the header to be sent again, firing the PHP
code that interfaces the $_POST to the db?

Has anyone experienced this before? Is there something I can do to
prevent it?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to