Beginner PHP Chapter 5 - Arrays - Code Block 10


/ Published in: PHP
Save to your folder(s)

Beginner PHP Chapter 5 - Arrays


Copy this code and paste it in your HTML
  1. <?php
  2.  
  3. $visit1 = array(
  4. 'date' => '11/12/09',
  5. 'time' => '11.02AM'
  6. );
  7.  
  8. $visit2 = array(
  9. 'date' => '13/01/10',
  10. 'time' => '2.15PM'
  11. );
  12.  
  13. $visit3 = array(
  14. 'date' => '16/01/10',
  15. 'time' => '10.57AM'
  16. );
  17.  
  18. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.