|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Member
Join Date: May 2004
Location: Croatia
Posts: 3
|
Mozilla Firefox PROBLEM ???
I still don't get why is this hepening. If I'm browsing (testing) on local machine with IE 6 everithing is woorking nice, but if I'm browsing with Mozilla Firefox I get double records inserted into db, and everything that has something to do with database (update or insert) is is doing it double or twice.
here are two tables FIRST TABLE zaglavlje_ponuda broj int(11) datum varchar(12) trajanje varchar(12) kupac int(11) id int(11) - primary k SECOND TABLE stavke_ponude id int(11) - primary k broj int(11) sifra text opis longtext kolicina text cijena text popust text vrijednost text porez text ukupno text and this is code PHP Code:
Already 3 days trying to resolve this problem Please help me |
|
|
|
|
|
#2 |
|
Sitepоint Ninja
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: NYC
Posts: 1,155
|
It's not a PHP problem, browser has nothing to do with the PHP. What is happening, or so I think, is the form is being submited twice. Try setting a five second cookie on submit and check if it is set before the script runs.
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 13:48.








Linear Mode
