Im making my own forum. When user will post a post and press enter I need my code to replaca New Line with <br>. How can I do this? In asp it was simple
Code: Select all
Replace(vbcrlf,"<br>")Moderator: General Moderators
Code: Select all
Replace(vbcrlf,"<br>")Code: Select all
echo nl2br($text);