Good day all:
I have a textarea box in my form which receives (from a url) and display variable. The problem is that it does not translate the <br/>. instead of creating a newline where there is <br/>, it simply prints <br/>. here is an example of the output.
br/>On 11/11/10 @ 01:34<br/>We performed the following:<br/><br/>
information update<br/><br/>----End of Service Report----<br/><br/>On 11/11/10 @ 10:45<br/>We performed the following:<br/><br/>
Inside my form, the textarea is written as follows:
<td><textarea name="text" id="text" rows="26" cols="61" ><?php echo str_replace('<br/>', "\n", "$edit_servicedesc2");?></textarea> </td>
on other instances, the output is without the <br/>, instead, it removes the <br/> and does not replace it with newline. Something like this:
On 11/12/10 @ 11:47We performed the following:test1test2test3----End of Service Report----On 11/12/10 @ 11:24We performed the following:Information updatedOil Change performedBrake pads installed----End of Service Report...
Does anyone have any thoughts on how to resolve this issue?