Advertisement
Guest User

test

a guest
Jan 22nd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <?php
  2. echo 'Display the names separated with coma, and no coma on the last name. <br><br> ';
  3.  
  4. $names = ['John', 'Marie', 'Stefan', 'Toki', 'Hide', 'Jovica'];
  5.  
  6. //
  7.  
  8.  
  9. echo '-------------------------------------- SECOND ------------- <br><br>';
  10.  
  11.  
  12.  
  13. echo "Display numbers 1 3 5 7 9 11 13 15 in a for loop with break tag <br><br>";
  14.  
  15. //
  16.  
  17. echo '-------------------------------------- THIRD ------------- <br><br>';
  18.  
  19. echo 'Find the position of the letter J <br><br>';
  20.  
  21. $letters = 'ABFTRLIGRDDGJFLRDOS';
  22.  
  23.  
  24. //
  25.  
  26.  
  27. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement