Start a free Courses trial
to watch this video
To learn PHP, we’re going to build an online T-shirt store. Visitors can browse through the shirts and look at details for specific shirts. We’ll integrate the site with a PayPal shopping cart so that visitors can purchase the shirts through PayPal.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up[treehouse] 0:00 [PHP Paradise - Stage 1: Getting Started with PHP with Randy Hoyt] 0:03 Hi. I'm Randy. Welcome to PHP Paradise. 0:06 PHP is a programming language that can add advanced functionality to our web pages 0:10 and make them easier to maintain as our sites grow. 0:14 Before starting with PHP, you should already know a little about how web pages work 0:19 and be able to write some HTML and CSS. 0:22 If you don't, you might want to take a detour and head over to Website Waters first. 0:26 Once you're ready to learn PHP, we're going to build this online t-shirt store. 0:30 Visitors can browse through the collection of shirts 0:36 and look at details for a specific shirt. 0:38 We'll integrate the site with a PayPal shopping cart 0:41 so that visitors can purchase the shirts through PayPal. 0:43 We'll also build a contact form that sends us an email whenever someone fills it out. 0:48 We'll use PHP to add this functionality 0:55 and to keep the design and product information consistent 0:58 across the site as the catalog grows. 1:00 As we go, we'll cover core programming concepts like variables and conditionals 1:03 and sophisticated techniques for building more dynamic websites 1:07 like form processing and template files. 1:10 We'll be making an online store, but you can build all sorts of web sites 1:13 and web applications with PHP, like social networks, forums, blogs, and more. 1:17 Ready to get started? 1:23 Let's open up our text editors and take a look at a very simple example 1:24 of what PHP code looks like. 1:28 First, we'll type an opening angled bracket, followed by a question mark 1:31 and the letters P-H-P with no spaces in between them. 1:33 Then we'll type a space and the word "echo" 1:39 followed by another space. 1:42 Next, a quotation mark, the name of our website "Shirts for Mike" 1:44 followed by another quotation mark, a semicolon, a space, 1:50 another question mark and a closed angled bracket. 1:55 Now I'd like you to take a turn typing this line out. 1:59 Make sure you type it exactly as I have done here. 2:01 When you're done, we'll go over each part. 2:04
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up