i use nlb2r cos i want new lines shown as breaks, but i want to stop needless multiple breaks, have tried to convert 3 breaks to 1 ie, put this in a loop until no change:
STR__REPLACE("\n\n\n","\n",$input) but it does not work, what is the char i should search for
ok update guys, the nlb2r replaces"\n" with <br /> so its the <br /> i search and replace, and it works
no still dont worh you actually get:
<br />
<br />
<br />
<br />
<br />
<br />
in the html?
dont know ereg well, any suggestions
thanks