I'm building a site w/ PHP & MySQL (learning as I go). Anyway, when I navigate through my product links I sometimes get random "hiccups" of code that display on the page where they shouldn't. Sometimes the code is a portion of an html tag, sometimes its random characters combined. Whenever this happens, I can hit Refresh and the page will display fine. There doesn't seem to be any patterns to these hiccups and the same characters usually don't show up twice (or in the same spots).
Anyone know what would cause this? I am using an include file for my lefthand navigation and then the center content is dynamically generated from the db....is my pc just not able to render all of the info fast enough so that some of it is getting garbled? Or could I have an errant tag or quote somewhere? I've checked the code and can't find any errors. Also, I do not see any PHP or MySQL-specific error messages.
Here is just one example of the strange things I'm getting:
This line of code,
<div align="center"><h2>Jeep Wheels - Reviews</h2></div>
Was replaced by this after a refresh:
<div align=" + aer"><h2>Jeep Wheels - Reviews</h2></div>
Hit refresh again, and the page goes back to normal.
I've scrutinized my code, but don't see any glaring errors...it's starting to drive me nuts!
Any thoughts??
Thanks!