Tutorials

The following tutorials are available for all members. These tutorials include full video lessons and support.

Join Now

 

  1. Using CodeAnywhere as a development platform
  2. Creating a Hello World script
  3. What are PHP Variables?
  4. How to assign values to variables in PHP
  5. What PHP data types are available?
  6. Echo and Print - how to view PHP output
  7. How to add comments to PHP code
  8. How to add and subtract numbers in PHP
  9. How to multiply and divide numbers in PHP
  10. How to use the PHP modulus operator
  11. How to find a power of a number using PHP
  12. Challenge 1: Back to School
  13. Challenge 1: Back to School - SOLUTION
  14. Challenge 1: Back to School - FULL DOWNLOADABLE CODE
  15. How to join words and sentences using concatenation
  16. Challenge 2: What's in a name?
  17. Challenge 2: What's in a name? - SOLUTION
  18. Challenge 2: What's in a name? - FULL DOWNLOADABLE CODE
  19. More concatenation
  20. What are the comparison operators in PHP?
  21. What are the logical operators in PHP?
  22. How to use a basic IF statement in PHP
  23. How to use an IF ELSE statement in PHP
  24. How to use an ELSE IF statement in PHP
  25. How to use a FOR loop in PHP
  26. How to use WHILE loops in PHP
  27. Challenge 3: Multiples
  28. Challenge 3: Multiples - SOLUTION
  29. Challenge 3: Multiples - FULL DOWNLOADABLE CODE
  30. Challenge 4: Let's play Fizz Buzz
  31. Challenge 4: Let's play Fizz Buzz - SOLUTION
  32. Challenge 4: Let's play Fizz Buzz - FULL DOWNLOADABLE CODE
  33. How to use the PHP online reference manual
  34. How to generate a random number in PHP
  35. Challenge 5: Heads I win!
  36. Challenge 5: Heads I win! - SOLUTION
  37. Challenge 5: Heads I win! - FULL DOWNLOADABLE CODE
  38. Challenge 6: Who ate all the pie?
  39. Challenge 6: Who ate all the pie? - SOLUTION
  40. Challenge 6: Who ate all the pie? - FULL DOWNLOADABLE CODE
  41. How to use the date function in PHP
  42. Challenge 7: Carpe Diem
  43. Challenge 7: Carpe Diem - SOLUTION
  44. Challenge 7: Carpe Diem - FULL DOWNLOADABLE CODE
  45. Time functions
  46. Challenge 8: Santa Claus is coming to town
  47. Challenge 8: Santa Claus is coming to town - SOLUTION
  48. Challenge 8: Santa Claus is coming to town - FULL DOWNLOADABLE CODE
  49. How to create a basic HTML page structure
  50. How to create a basic HTML form
  51. How to use form data in PHP
  52. Challenge 9: Temperature Conversion
  53. Challenge 9: Temperature Conversion - SOLUTION
  54. Challenge 9: Temperature Conversion - FULL DOWNLOADABLE CODE
  55. How to find the length of a word or sentence in PHP
  56. How to count the number of words in a string in PHP
  57. Challenge 10: How long is a piece of string?
  58. Challenge 10: How long is a piece of string? - SOLUTION
  59. Challenge 10: How long is a piece of string? - FULL DOWNLOADABLE CODE
  60. How to replace characters in a string
  61. How to randmise a string in PHP
  62. Challenge 11: Mission Impossible
  63. Challenge 11: Mission Impossible - SOLUTION
  64. Challenge 11: Mission Impossible - FULL DOWNLOADABLE CODE
  65. Double versus single quotes in PHP
  66. How to escape strings in PHP
  67. Challenge 12: The Great Escape
  68. Challenge 12: The Great Escape - SOLUTION
  69. Challenge 12: The Great Escape - FULL DOWNLOADABLE CODE
  70. What is an array in PHP?
  71. How to loop through an array in PHP
  72. How to split a string and place into an array in PHP
  73. Challenge 13: ISBN checker
  74. Challenge 13: ISBN checker - SOLUTION
  75. Challenge 13: ISBN checker - FULL DOWNLOADABLE CODE
  76. Challenge 14: Mind your language
  77. Challenge 14: Mind your language - SOLUTION
  78. Challenge 14: Mind your language - FULL DOWNLOADABLE CODE
  79. How to sort data in an array in PHP
  80. How to explode and implode strings
  81. How to add elements to an existing array
  82. Challenge 15: Around the World in 80 days
  83. Challenge 15: Around the World in 80 days - SOLUTION
  84. Challenge 15: Around the World in 80 days - FULL DOWNLOADABLE CODE
  85. How to remove single elements from an array in PHP
  86. How to use array_slice to split an array
  87. Challenge 16: It's getting hot in here
  88. Challenge 16: It's getting hot in here - SOLUTION
  89. Challenge 16: It's getting hot in here - FULL DOWNLOADABLE CODE
  90. How to select a random element from an array
  91. Challenge 17: Pick a card, any card
  92. Challenge 17: Pick a card, any card - SOLUTION
  93. Challenge 17: Pick a card, any card - FULL DOWNLOADABLE CODE
  94. Challenge 18: Let's go shopping
  95. Challenge 18: Let's go shopping - SOLUTION
  96. Challenge 18: Let's go shopping - FULL DOWNLOADABLE CODE
  97. How to understand the structure of an associative array
  98. How to loop through an associative array and output the results
  99. Challenge 19: Capital cities of the World
  100. Challenge 19: Capital cities of the World - SOLUTION
  101. Challenge 19: Capital cities of the World - FULL DOWNLOADABLE CODE
  102. How to create a function in PHP
  103. How to use variables in functions
  104. How to pass arguments to functions
  105. How to return a value from a function
  106. How to return multiple values from a function
  107. What are sessions and cookies in PHP
  108. How to create a cookie
  109. How to read a cookie
  110. How to update a cookie
  111. How to delete a cookie
  112. Challenge 20: All About Me
  113. Challenge 20: All About Me - SOLUTION
  114. Challenge 20: All About Me - FULL DOWNLOADABLE CODE
  115. How to create a session
  116. How to update a session
  117. How to delete a session
  118. Challenge 21: Hit Me Baby One More Time
  119. Challenge 21: Hit Me Baby One More Time - SOLUTION
  120. Challenge 21: Hit Me Baby One More Time - FULL DOWNLOADABLE CODE
  121. Challenge 22: Palindromes
  122. Challenge 22: Palindromes - SOLUTION
  123. Challenge 23: Chessboard
  124. Challenge 23: Chessboard - SOLUTION
  125. Challenge 24: Rock, Paper, Scissors
  126. Challenge 25: Tic Tac Toe
  127. Challenge 26: Going round in circles

A full PHP for Beginners course is available by joining here. A couple of sample text-based tutorials are included below. All membership tutorials include full videos.

Comments

Your email address will not be published.

PHP for Beginners

Enrol in the full course here

PHP, MySQL and PDO

Coming soon, a full course on using PHP, MySQL and PDO. Be notified as soon as the course goes live.