Posted By

ashmenon on 09/09/12


Tagged


Versions (?)

Beginner PHP Chapter 5 - Arrays - Code Block 5


 / Published in: PHP
 

Beginner PHP Chapter 5 - Arrays

  1. <?php
  2.  
  3. $array = array('dolphin','llama');
  4. echo($array[0]); //This will display the string 'dolphin'.
  5. echo $array[1]; //This will display the string 'llama'.
  6.  
  7.  
  8. ?>

Report this snippet  

You need to login to post a comment.