Introduction to PHP 10/13

Comments
Just like we sometimes put comments in our CSS (using /* this syntax */) or in our HTML (using <!-- this syntax -->), we can also put comments in our PHP code! We do that using two forward slashes (//), like so:
<?php
    echo "I get printed!";
    // I don't! I'm a comment.
?>
Instructions
Go ahead and add a comment to our PHP code. It can say whatever you like!
Introduction to PHP 10/13
<!DOCTYPE html>
<html>
    <head>
        <title>Oh No!</title>
    </head>
    <body>
        <p><?php
            echo "Oh, the humanity!";
            //Don't forget to plus semicolon at the end!
          ?></p>

    </body>
</html>
CSS code be ignored

Comments

Popular posts from this blog

MEGA 暫存檔案刪除

IOS GCD多執行緒

利用CMD指令強制刪除