function for displaying a message to the user
<p>I just came across a function that is used to display an error message to the user and there is a part of it that I don't understand.Here id the function.</p>

<pre><code>public function display(){
    echo "&lt;div class=\"flash " . $this-&gt;type . "\"&gt;". $this-&gt;$msg ."&lt;/div&gt;";
}
</code></pre>

<p>Can someone please explain to me what the purpose of the <code>"\"</code> is here?</p>
