Styles2304 Posted October 5, 2007 Share Posted October 5, 2007 Ok, the website in question: http://www.newcovenant-th.org/ The problem is that in the announcements (the blue section on the left) the data retrieved from the MySQL database doesn't wordwrap properly . . . but only in the first post. Does anyone have any idea why this is? If there's any code I can show you just say the word. Also, I'm not actually doing anything to make it wrap . . . it's just pulling the data in from a different page and displaying it in an iframe. Thanks, Zach Quote Link to comment https://forums.phpfreaks.com/topic/71885-data-not-wrapping-correctly/ Share on other sites More sharing options...
trq Posted October 5, 2007 Share Posted October 5, 2007 There are no announcements to speak of. Quote Link to comment https://forums.phpfreaks.com/topic/71885-data-not-wrapping-correctly/#findComment-362118 Share on other sites More sharing options...
Styles2304 Posted October 5, 2007 Author Share Posted October 5, 2007 ? Say what? They all show up for me in IE and FF . . . Quote Link to comment https://forums.phpfreaks.com/topic/71885-data-not-wrapping-correctly/#findComment-362120 Share on other sites More sharing options...
Styles2304 Posted October 5, 2007 Author Share Posted October 5, 2007 It requires javascript so that the iframes can connect to each other . . . is that maybe why you couldn't see it? Quote Link to comment https://forums.phpfreaks.com/topic/71885-data-not-wrapping-correctly/#findComment-362122 Share on other sites More sharing options...
trq Posted October 5, 2007 Share Posted October 5, 2007 Javascript is enabled here using opera 9.22. Quote Link to comment https://forums.phpfreaks.com/topic/71885-data-not-wrapping-correctly/#findComment-362128 Share on other sites More sharing options...
TheFilmGod Posted October 5, 2007 Share Posted October 5, 2007 I don't understand why its javascript enabled. I mean you can easily do this without javascript. It annoys me that I turn off my javascript for a day and half the internet is useless without it. Come on! What happended to the world...? Quote Link to comment https://forums.phpfreaks.com/topic/71885-data-not-wrapping-correctly/#findComment-362147 Share on other sites More sharing options...
Styles2304 Posted October 5, 2007 Author Share Posted October 5, 2007 it needs javascript so the iframes can be dynamic and communicate with each other. Either way . . . this has nothing to do with the problem. Quote Link to comment https://forums.phpfreaks.com/topic/71885-data-not-wrapping-correctly/#findComment-362165 Share on other sites More sharing options...
TheFilmGod Posted October 5, 2007 Share Posted October 5, 2007 it needs javascript so the iframes can be dynamic and communicate with each other. Either way . . . this has nothing to do with the problem. sounds complicated. Why not stick with php? I can easily do this in php. And YES, this is part of the problem. Maybe if you didn't use some stupid iframes but instead use php and html correctly you wouldn't have had this problem in the first place.- Some thoughtful truth... :-\ Quote Link to comment https://forums.phpfreaks.com/topic/71885-data-not-wrapping-correctly/#findComment-362181 Share on other sites More sharing options...
Styles2304 Posted October 5, 2007 Author Share Posted October 5, 2007 Wow . . . seriously, if you're not going to post anything useful . . . then please, don't post. I've been upgrading as I've been learning but either way . . . it doesn't explain why only this particular message is having problems word wrapping when in the entire history that I've run the website this has never happened. I don't know if you're trying to make me feel like an idiot because I clearly don't know as much about this as you or what but it's not appreciated. So how about instead of calling what I've worked hard on so far "stupid" and bragging about how you can easily conquer the internet, you post something useful. Quote Link to comment https://forums.phpfreaks.com/topic/71885-data-not-wrapping-correctly/#findComment-362205 Share on other sites More sharing options...
Styles2304 Posted October 5, 2007 Author Share Posted October 5, 2007 I actually figured out at least what was causing the problem. If I enter a word that, in itself, is too long to fit and thus cannot be wrapped, it throws off the entire thing . . . no idea why though. Quote Link to comment https://forums.phpfreaks.com/topic/71885-data-not-wrapping-correctly/#findComment-362231 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.