Guide to PHP and MySQL (University at Buffalo Version)
Chapter 1: Introduction to PHP
PHP code can be embedded in an HTML file usg the
Most beginning programmers start with the standard "Hello Wolrd" code:
An HTML/PHP Hello World Web Page
The rendered web page would look like this:
PHP provides a few different way to add comments to your code. You can use multi-line comments or inline (single line) comments or PHPDoc comments. Comments should be used to explain what your code is doing. Comments should be used to provide a description of each function including whether there are parameters and whther the function returns a value or not.
Save this file (download.php) to your mfc211 web space. Then in your HTML code use this line:
Test to make sure it works for you.