Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo 'Display the names separated with coma, and no coma on the last name. <br><br> ';
- $names = ['John', 'Marie', 'Stefan', 'Toki', 'Hide', 'Jovica'];
- //
- echo '-------------------------------------- SECOND ------------- <br><br>';
- echo "Display numbers 1 3 5 7 9 11 13 15 in a for loop with break tag <br><br>";
- //
- echo '-------------------------------------- THIRD ------------- <br><br>';
- echo 'Find the position of the letter J <br><br>';
- $letters = 'ABFTRLIGRDDGJFLRDOS';
- //
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement