Guest PcGamerz13 Posted March 6, 2006 Share Posted March 6, 2006 Fixed Quote Link to comment https://forums.phpfreaks.com/topic/4196-mysql-and-word-wrap-help/ Share on other sites More sharing options...
Guest PcGamerz13 Posted March 6, 2006 Share Posted March 6, 2006 Deleted Quote Link to comment https://forums.phpfreaks.com/topic/4196-mysql-and-word-wrap-help/#findComment-14761 Share on other sites More sharing options...
XenoPhage Posted March 6, 2006 Share Posted March 6, 2006 Are the breaks not being added to the HTML output? Quote Link to comment https://forums.phpfreaks.com/topic/4196-mysql-and-word-wrap-help/#findComment-14777 Share on other sites More sharing options...
Guest PcGamerz13 Posted March 6, 2006 Share Posted March 6, 2006 Deleted Quote Link to comment https://forums.phpfreaks.com/topic/4196-mysql-and-word-wrap-help/#findComment-14825 Share on other sites More sharing options...
XenoPhage Posted March 6, 2006 Share Posted March 6, 2006 [!--quoteo(post=352270:date=Mar 6 2006, 05:12 PM:name=PcGamerz13)--][div class=\'quotetop\']QUOTE(PcGamerz13 @ Mar 6 2006, 05:12 PM) [snapback]352270[/snapback][/div][div class=\'quotemain\'][!--quotec--]$row[2] won't word wrap in $Message = wordwrap($row[2], 25, "<br />\n");it shows my mail just got word wrapped[/quote]I'm not sure I understand.. If you look at the raw output from the program, are there <br /> tags where $row[2] is displayed? ie, is it just not displaying it in the browser? Quote Link to comment https://forums.phpfreaks.com/topic/4196-mysql-and-word-wrap-help/#findComment-14830 Share on other sites More sharing options...
Guest PcGamerz13 Posted March 6, 2006 Share Posted March 6, 2006 Deleted Quote Link to comment https://forums.phpfreaks.com/topic/4196-mysql-and-word-wrap-help/#findComment-14850 Share on other sites More sharing options...
Barand Posted March 6, 2006 Share Posted March 6, 2006 Using your code with$row[2] = 'Lorem ipsum dolor sito amet, atoi consectetuer adipiscing elit, sed diam nonummy nibal as eui mode. Visit autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.';I get[code]Lorem ipsum dolor sitoamet, atoi consectetueradipiscing elit, sed diamnonummy nibal as euimode. Visit autem vel eumiriure dolor in hendreritin vulputate velit essemolestie consequat, velillum dolore eu feugiatnulla facilisis at veroeros et accumsan et iustoodio dignissim quiblandit praesent luptatumzzril delenit augue duisdolore te feugait nullafacilisi.[/code]What are you expecting? Quote Link to comment https://forums.phpfreaks.com/topic/4196-mysql-and-word-wrap-help/#findComment-14864 Share on other sites More sharing options...
Guest PcGamerz13 Posted March 6, 2006 Share Posted March 6, 2006 Deleted Quote Link to comment https://forums.phpfreaks.com/topic/4196-mysql-and-word-wrap-help/#findComment-14869 Share on other sites More sharing options...
Guest PcGamerz13 Posted March 7, 2006 Share Posted March 7, 2006 Deleted Quote Link to comment https://forums.phpfreaks.com/topic/4196-mysql-and-word-wrap-help/#findComment-14901 Share on other sites More sharing options...
XenoPhage Posted March 7, 2006 Share Posted March 7, 2006 *sigh* I was curious what the fix was too.. guess I'll never know now... Quote Link to comment https://forums.phpfreaks.com/topic/4196-mysql-and-word-wrap-help/#findComment-14932 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.