Hi,
I thought this would be a pretty simple thing to do, but I'm really having problems getting this wordwrap function to work.
I'm trying to get the word wrap function to work. I'm retrieving data from a mySQL database. The data has been base64_encoded
$wrapthis = base64_decode($data);
$output = wordwrap($wrapthis, 80, "<br />\n");
I'm putting the $output into a html table.
$wrapthis returns the data in the right text format however the wordwrap doesn't work. I'm thinking maybe the wordwrap function isn't recognizing the whitespaces between the words when they come out of a base64_decode??
What am I doing wrong???
Help!