1. Save the script.

    Here’s what each line of this PHP script does:
  • <?php

    print "Welcome to ACME AUTO";

    ?>

    This is the opening PHP tag. PHP code is always written between the opening and closing PHP tags.

  • <?php
     
    print "Welcome to ACME AUTO";

    ?>

    Before the next line of code is a blank line. You can use blank lines throughout your PHP scripts.

    Blank lines allow you to group sections of code together, which makes scripts easier to read.

  • <?php

    print "Welcome to ACME AUTO";

    ?>

    This print command tells the Web server to "print" the words between the quotes to the browser window.

    Remember: for a command string to execute, there must be a semicolon (;) at the end.

  • <?php

    print "Welcome to ACME AUTO";

    ?>

    This is the closing PHP tag. No more PHP code can be written after this closing tag without another opening PHP tag.