Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //edit this array
- $contacts = array(
- );
- echo "<ul>\n";
- //$contacts[0] will return 'Alena Holligan' in our simple array of names.
- echo "<li>" . $contacts[0]['name'] ." : " . $contacts[0]['email'] . "</li>\n";
- echo "<li>" . $contacts[1]['name'] ." : " . $contacts[1]['email'] . "</li>\n";
- echo "<li>" . $contacts[2]['name'] ." : " . $contacts[2]['email'] . "</li>\n";
- echo "<li>" . $contacts[3]['name'] ." : " . $contacts[3]['email'] . "</li>\n";
- echo "</ul>\n";
Advertisement
Add Comment
Please, Sign In to add comment