troubleshooting Question

Firefox page source different than content in browser

Avatar of Oneiroid
Oneiroid asked on
PHPWeb Browsers
9 Comments1 Solution478 ViewsLast Modified:
I have coded my website in PHP with MySql for IE7, and am now testing it in Firefox 3.0.5.

One of my forms appears to be operating differently in Firefox, so I've echoed out all the variables involved to bug check. All of the variables are what I expect when I see them echoed on screen, but the resulting MySql statement executed at the same time [using the same variables] actually seems to be using different values in a couple cases.

At first I thought maybe Firefox was trying to execute the query twice, altering the values as it did, but I've been able to find no evidence of this.

I opened up the Page Source via Firefox, and low and behold, the values echoed in the debug statements were the same ones that my MySql statements were using, and were not the ones actually being displayed on the screen.

I've been wracking my brain over this one... I've not encountered a situation like this where the browser had anything to do with values being processed by the server. But I've tested the code between IE and Firefox extensively, and I can't figure out why I am getting the unexpected results from Firefox. Perhaps the incongruity between page source code and on screen content is a clue...

If I can provide any additional info, please ask! Thanks!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros