Hello Bytes,
I'm definitely a java newbie and have been working on an application recently and ran into strange behavior between browsers and wondered if anyone could help.
I'm sure my code is going to make you pros cry, but I'm trying!
I have an index php page located at
(Text version)
If you click Register in the upper right corner, the register div appears with the form.
Fill in the form and click Register.
This is where the difference occours.
Unbelievably this works as intended in IE8 but not in FF, the registration form is submitted via post to signup.php (txt version).
If the username already exists, it reports that accordingly.
If it does not exist then insert into the db.
In IE8 this is how it happens, but in FF it does this;
Fill in form and submit.
The form reports that the username already exists but it actually inserts the data correctly.
When tailing the mysql log, the signup.php appears to run the query twice but I just don't understand why.
I'm not used to something working in IE but not FF!
If I can provide any other info please let me know and thank you in advance if you are willing to assist this noob.
Regards,
Aaron
I'm definitely a java newbie and have been working on an application recently and ran into strange behavior between browsers and wondered if anyone could help.
I'm sure my code is going to make you pros cry, but I'm trying!
I have an index php page located at
(Text version)
If you click Register in the upper right corner, the register div appears with the form.
Fill in the form and click Register.
This is where the difference occours.
Unbelievably this works as intended in IE8 but not in FF, the registration form is submitted via post to signup.php (txt version).
If the username already exists, it reports that accordingly.
If it does not exist then insert into the db.
In IE8 this is how it happens, but in FF it does this;
Fill in form and submit.
The form reports that the username already exists but it actually inserts the data correctly.
When tailing the mysql log, the signup.php appears to run the query twice but I just don't understand why.
I'm not used to something working in IE but not FF!
If I can provide any other info please let me know and thank you in advance if you are willing to assist this noob.
Regards,
Aaron
Comment