I have a form with a text box that is 50 columns wide with wrap="hard".
I want to be able to take the data entered and find out the width of each individual line. The reason I say width is because "W" is wider than "i" and so on.
I figured out how to get the strlen of the whole string, but not the length of each individual line up to the <BR>
I've been trying to use explode() to do this, but
how do you explode it based on what
nl2br does to the variable. In the it's shows the page it shows the returns, but in the html source there are no <br>'s or anything.
Any ideas?