Ajax-loader-large-white
Arrays
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.

?
Stuck? Get a hint! Hint
Get live, fast support from Codecademy Advisors when you get stuck. Learn more.

Remember, array syntax looks like this:

$arrayName = array("do", "re", "mi");
index.php
project
View Preview