Hey guys, using a dynamic div here to spit out definitions based on final dispositions of records.
I have a database that contains all dispositions and the definitions of each disposition.
I want to break after so many characters, so i use the php wordwrap() function but get an odd result.
Call Back Later:
Representative was unable to reach patient. PRSM
attempt to re-contact.
It breaks right on the first line, then puts one word on the second line and breaks again putting the rest on the third line.
I have tried
wordwrap($desc, 60, "<br />\n")
wordwrap($desc, 60, "\n")
wordwrap($desc, 60, "<br />")
wordwrap($desc, 60, "\n<br />")
I've checked the database for any newlines in the data and there are none.
Does anyone have any ideas or suggestions?