amoussa11

PHP 5 Arrays

Feb 19th, 2019
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4.  
  5. <?php
  6. $cars = array("Volvo", "BMW", "Toyota");
  7. echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . ".";
  8. ?>
  9.  
  10. </body>
  11. </html>
Add Comment
Please, Sign In to add comment