Eli, the Computer Guy - Part 3


PHP Programming Part 3

Comments and INCLUDE in PHP Programming


  1. What are the three ways that you can make comments in PHP?

  2. Single-line comment:

    • //
    • #

    Multi-line comment:

    • /* */


  3. What is the PHP include function? Why is it useful?

  4. The include() fucntion grabs all the information from another file and 'includes' into the current file. It is useful because it is less code to write and the productivity as well as the accuracy increases.


    Comment


    Include

    The link to my working code is here.