Friday, November 7, 2014

Basic PHP Skills


  • How to embed PHP in HTML.
    • To add PHP to a file, you code php tag that begins with <?php and end with ?>. Then you enter php code between these tags.

  • How to code comments in php.
    • Comment helps document what code does.
    • To code a single-line-comment, code two forward slashes (//) or a pound sign (#).
    • To code a multiple-line-comment , code /* flowed by the comment,followed by */
    • Comment make your code easer to read.

No comments:

Post a Comment