note 76515 modified in introduction by danbrown

From: Date: Mon, 27 Oct 2008 20:46:03 +0000
Subject: note 76515 modified in introduction by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-145846@lists.php.net to get a copy of this message
"the code is executed on the server" This is an important concept for the first-time PHP programmer to understand, so that when you get into string formatting later on, you understand the difference between formatting the on-screen content (as parsed by your browser) and formatting the HTML code (as returned by the server). For example "\n" starts a new line in the HTML code, and its results are only seen if you look at the "source HTML". It is NOT the same as <br>! [EDIT BY danbrown AT php DOT net: Corrected typo in post. Thanks to PHP at ANDY dot COM dot PT for pointing out the issue.] --was-- "the code is executed on the server" This is an important concept for the first-time PHP programmer to understand, so that when you get into string formatting later on, you understand the difference between formatting the on-screen content (as parsed by your browser) and formatting the HTML code (as returned by the server). For example "/n" starts a new line in the HTML code, and its results are only seen if you look at the "source HTML". It is NOT the same as <br>! http://php.net/manual/en/introduction.php

« previous php.notes (#145846) next »