Jump to content

Archived

This topic is now archived and is closed to further replies.

Guest PcGamerz13

MySQL and word wrap help

Recommended Posts

Guest PcGamerz13
Fixed

Share this post


Link to post
Share on other sites
Guest PcGamerz13
Deleted

Share this post


Link to post
Share on other sites
Guest PcGamerz13
Deleted

Share this post


Link to post
Share on other sites
[!--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?

Share this post


Link to post
Share on other sites
Guest PcGamerz13
Deleted

Share this post


Link to post
Share on other sites
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 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.[/code]

What are you expecting?

Share this post


Link to post
Share on other sites
Guest PcGamerz13
Deleted

Share this post


Link to post
Share on other sites
Guest PcGamerz13
Deleted

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.