Claude's Top Ten

Here is the same array using those values in an ordered(numbered) list:

  1. Chocolate
  2. Double Chocolate Fudge
  3. Fudge Ripple
  4. Chocolate Chip Cookie Dough
  5. Reeses Cup Chocolate
  6. Chocolate Marshmallow
  7. Rocky Road
  8. Mint Chocolate Chip
  9. Chocolate Mint
  10. Vanilla - Covered in Chocolate Syrup
    1. I rethought my Top Ten Choices and decided to make a change. Actually, Double Chocolate Fudge has to top my list, not Chocolate. This is based on my opinion that Double Chocolate anything has to be better than single chocolate anything. You get double!

      Here, I update the value of elements in that array to reflect that change. Array ( [0] => Double Chocolate Fudge [1] => Chocolate [2] => Fudge Ripple [3] => Chocolate Chip Cookie Dough [4] => Reeses Cup Chocolate [5] => Chocolate Marshmallow [6] => Rocky Road [7] => Mint Chocolate Chip [8] => Chocolate Mint [9] => Vanilla - Covered in Chocolate Syrup )

      Here is the resulting array in a newly ordered(numbered) list:

      1. Double Chocolate Fudge
      2. Chocolate
      3. Fudge Ripple
      4. Chocolate Chip Cookie Dough
      5. Reeses Cup Chocolate
      6. Chocolate Marshmallow
      7. Rocky Road
      8. Mint Chocolate Chip
      9. Chocolate Mint
      10. Vanilla - Covered in Chocolate Syrup
        1. Includes

          Includes are a very powerful coding tool, yet very easy to use. They involve using snippets of code that are substituted into your main document from separate files that you create. I am going to provide only a few basic examples here to illustrate how it is done. You may elect to keep it as simple or make it as complex as you want. Includes are used to import often-used portions or parts of documents or web pages that are repeated, but they can be used anywhere to introduce content, headers, footers, navigation and other elements to your web page or document using only 1 or 2 lines of code. One advantage of doing this is that you can keep your documents looking consistent throughout your site and you have the option to alter the parts you need without retyping all of your code over and over or you can introduce or add other code quickly. That increases your versatility by leaps and bounds, so it can be a great time-saver as well.

          The first four colored boxes were harded-coded using html on this page. The second four boxes were imported into to this page from external documents using php Include commands.


          header

          navigation

          content

          Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum


          footer

          ---------------------------------------------------------------------------


          header

          navigation

          content

          Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum


          footer

          You cannot see the complete source code of how this page was created using the View Source option because PHP is a back end language and it strips out all of the php code while on the php server in order to process it before sending the results back to your browser. If you want to take a look at the source code, then you can see it at: Arrays and Includes Source Code