We'll do a calculation and print the answer.
8 time 9 is 72

Comments that are included within the PHP section of a web page are eliminated by the server when the PHP code is run, and so do not have an adverse effect on page load time. You should comment your PHP programs well.

Comments within the HTML section will be downloaded to the browser, slowing down page loading.

Bright programmers will switch into PHP mode to comment their HTML. It saves on download time, and it also means that anyone who views the source doesn't get too much help in "borrowing" the page.


A demonstration program from Well House Consultants

Training sample © 2024, WELL HOUSE CONSULTANTS LTD
This is http://www.wellho.net/demo/k4.php
See source code here • More examples - same topic here
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net