PHP ARRAY EXAMPLE


SUBMITTED BY: nguyenthang338

DATE: Feb. 19, 2016, 5:23 a.m.

FORMAT: PHP

SIZE: 142 Bytes

HITS: 963

  1. THIS EXAMPLE :
  2. <?php
  3. $cars = array("Volvo", "BMW", "Toyota");
  4. echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . ".";
  5. ?>

comments powered by Disqus