I’m trying to learn PHP from a book (PHP, A Beginner’s Guide, by Vikram Vaswani) and I’ve run into problems right off the bat. The first chapter’s exercises includes a statement <?php echo "Today looks \nbright and sunny" ?> which is supposed to produce two lines of simple text, broken at the \n newline character, however, it’s not. Everything appears on one line. Did I miss something somewhere that I’m not implementing the newline correctly? I’m learning on a Win XP machine and using PHP 5.2.9-2 in a Firefox 52.5.3 browser.
What am I missing?
TIA