Possible Duplicate:
Remove all the line breaks from the html source
I have a code bellow
$a = "<br />
<br />Regards<br />
admin";
the out put is same as above code and, i want the result following format
<br /><br />Regards<br />admin