pneudralics Posted April 18, 2009 Share Posted April 18, 2009 I'm designing a webpage with WAMP now. The webpage is designed with css. I noticed sometimes my while loop doesn't display the data unless I left click anywhere on the page. When I left click on the pages somewhere all the data becomes visible. Without the data being visible I can right click, look at the source and it shows in the source, its just not visible on the page itself. This seems to happen on and off when I load the page. Link to comment https://forums.phpfreaks.com/topic/154659-why-doesnt-my-while-loop-show-sometimes-unless-i-click-the-page/ Share on other sites More sharing options...
premiso Posted April 18, 2009 Share Posted April 18, 2009 We cannot help you without seeing any code. Link to comment https://forums.phpfreaks.com/topic/154659-why-doesnt-my-while-loop-show-sometimes-unless-i-click-the-page/#findComment-813283 Share on other sites More sharing options...
soak Posted April 18, 2009 Share Posted April 18, 2009 This sounds like a css issue. Is it specific to one browser? Link to comment https://forums.phpfreaks.com/topic/154659-why-doesnt-my-while-loop-show-sometimes-unless-i-click-the-page/#findComment-813286 Share on other sites More sharing options...
pneudralics Posted April 19, 2009 Author Share Posted April 19, 2009 This sounds like a css issue. Is it specific to one browser? Now that you mention that yes. It's only doing that for IE8. Link to comment https://forums.phpfreaks.com/topic/154659-why-doesnt-my-while-loop-show-sometimes-unless-i-click-the-page/#findComment-813537 Share on other sites More sharing options...
.josh Posted April 19, 2009 Share Posted April 19, 2009 so..in IE8, when you view source, is it showing the output from your loop, or the actual php code? Link to comment https://forums.phpfreaks.com/topic/154659-why-doesnt-my-while-loop-show-sometimes-unless-i-click-the-page/#findComment-813576 Share on other sites More sharing options...
pneudralics Posted April 19, 2009 Author Share Posted April 19, 2009 so..in IE8, when you view source, is it showing the output from your loop, or the actual php code? It shows the output from the loop not the php code. The problem is it doesn't display the output sometimes unless I click somewhere on the page. This happens on and off. Link to comment https://forums.phpfreaks.com/topic/154659-why-doesnt-my-while-loop-show-sometimes-unless-i-click-the-page/#findComment-813976 Share on other sites More sharing options...
soak Posted April 19, 2009 Share Posted April 19, 2009 Try using a strict doctype if you are able. Link to comment https://forums.phpfreaks.com/topic/154659-why-doesnt-my-while-loop-show-sometimes-unless-i-click-the-page/#findComment-814020 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.