Escaping Your Code (Chapter 4)

Main Lab 4 Page


If one includes quotation marks within a PHP string, the parser needs to be told the quotation mark does not indicate the end of the string. This is done through the escape character, also known as the backslash (\). Without it, the PHP code would error out.

I think this is really "cool"!