Arrays 3/7

Creating Your First Array
Nice work! Now let's try creating an array from scratch.
Instructions
Create an array called $friends and put the names of three of your friends in it. Since each friend's name is a string, make sure to write it between quotes.
Click "Stuck? Get a hint!" for an example.
?
Hint
Test how well you're learning and fill in gaps with Codecademy Pro.Learn more.
Remember, array syntax looks like this:
$arrayName = array("do", "re", "mi");
Arrays 3/7
<html>
  <head>
    <title>My First Array</title>
  </head>
  <body>
    <p>
      <?php
      $friends = array('jan','bill','rick');
      ?>
    </p>
  </body>
</html>

Comments

Popular posts from this blog

MEGA 暫存檔案刪除

IOS GCD多執行緒

利用CMD指令強制刪除