PHP Function to replace all new line characters in a string with BR tag

There is an incredible but little known built-in function with PHP that replaces all new line characters within a string with html <br /> tags. Its perfect if you ever want to display the contents of a text area within HTML. $str = nl2br($str); This will replace all new line characters with valid XHTML <br …
Continue reading PHP Function to replace all new line characters in a string with BR tag

Bee Keeping Course

Alistair Jinks shares some of his experience when attending a beginners bee keeping course at the local Roe Valley club. “I was surprised when my wife gave me this course as a Christmas present. Whilst I was pleased at her kindness, I was not sure what to expect. Would it be oral, written or practical? …
Continue reading Bee Keeping Course