1 00:00:04,790 --> 00:00:08,061 [SOUND] Welcome to the second course in our PHP basic series. 2 00:00:08,061 --> 00:00:11,530 I'm Alena and I'll be your guide on this journey into programming. 3 00:00:11,530 --> 00:00:16,000 If you haven't yet taken our PHP basics course and are unfamiliar with programming 4 00:00:16,000 --> 00:00:20,810 in PHP, follow the link in the teacher's notes to review that course first. 5 00:00:20,810 --> 00:00:24,650 In this course, we'll take our PHP skills to the next level. 6 00:00:24,650 --> 00:00:29,270 We'll explore conditionals, loops and the compound variable arrays, 7 00:00:29,270 --> 00:00:33,730 all of which help you write more powerful and intelligent programs using less code. 8 00:00:33,730 --> 00:00:38,850 We'll start with an in-depth look into conditional and logical operators as 9 00:00:38,850 --> 00:00:43,880 we explore the different options available for expressing conditional statements. 10 00:00:43,880 --> 00:00:46,900 We'll wrap up this first section by creating a script for 11 00:00:46,900 --> 00:00:51,010 sending customized messages to high school students at the end of the school year. 12 00:00:52,150 --> 00:00:56,120 Next we'll dissect the compound variable type of arrays. 13 00:00:56,120 --> 00:00:58,690 It is referred to as a compound variable type, 14 00:00:58,690 --> 00:01:01,760 because it can contain more than one value. 15 00:01:01,760 --> 00:01:06,130 This will allow us to store more complex data such as lists and 16 00:01:06,130 --> 00:01:11,000 dictionaries, then manipulate that data in fun and interesting ways. 17 00:01:11,000 --> 00:01:16,290 In this section, we’ll be starting a to-do app by storing details about each task 18 00:01:16,290 --> 00:01:18,310 including due date and priority. 19 00:01:19,562 --> 00:01:21,960 Finally, we'll explore the different loops available for 20 00:01:21,960 --> 00:01:24,820 managing the flow of code in PHP. 21 00:01:24,820 --> 00:01:28,520 Loops are a way of repeating code and are very handy for repetitive tasks. 22 00:01:29,530 --> 00:01:32,480 Loops are frequently used to cycle through an array and 23 00:01:32,480 --> 00:01:36,070 perform an action on each element in the array. 24 00:01:36,070 --> 00:01:40,560 We use these looping options to complete our to-do app as well as create a ping 25 00:01:40,560 --> 00:01:43,980 pong game in which we'll examine different use cases for loops. 26 00:01:45,430 --> 00:01:48,320 This course is successful when you succeed. 27 00:01:48,320 --> 00:01:49,210 To that end, 28 00:01:49,210 --> 00:01:54,280 I want to remind you of a few useful tips to get the most out of this course. 29 00:01:54,280 --> 00:01:58,210 You don't have to catch everything in a video the first time through. 30 00:01:58,210 --> 00:02:01,630 Feel free to watch the videos as many times as you need. 31 00:02:01,630 --> 00:02:05,400 You can also slow down or speed up the playback of these videos. 32 00:02:06,640 --> 00:02:10,750 I put a lot of effort into providing you the best possible information. 33 00:02:10,750 --> 00:02:15,480 The teacher's notes provide additional information to supplement these videos. 34 00:02:15,480 --> 00:02:20,420 In the teacher's notes I may add clarification, examples, links, and more. 35 00:02:20,420 --> 00:02:23,620 So don't forget to check the notes on each video. 36 00:02:23,620 --> 00:02:26,420 I'd also like to highlight our awesome community 37 00:02:26,420 --> 00:02:28,830 of fellow students here at Treehouse. 38 00:02:28,830 --> 00:02:31,630 You are not alone on this journey of programming and 39 00:02:31,630 --> 00:02:34,990 your fellow travelers are here to help you along the way. 40 00:02:34,990 --> 00:02:39,560 By asking questions, you give these fellow travelers the valuable opportunity 41 00:02:39,560 --> 00:02:40,730 to share what they've learned. 42 00:02:41,750 --> 00:02:45,750 And if you've made it this far you already have valuable knowledge that 43 00:02:45,750 --> 00:02:48,990 you can share with your fellow travelers as well. 44 00:02:48,990 --> 00:02:52,730 Don't be afraid to add your voice as we build a strong community 45 00:02:52,730 --> 00:02:53,780 of continuous learning.