I'm new to php and am building a guestbook as my first project. The problem I have is that I want to insert <br> tags into the code stored in the database so that when it is displayed the carridge returns in the text box show up on the page.
What I don't know is how to code a function which replaces the carridge returns with <br>. Any help, pointers, greatly appreciated.