Join Kevin Skoglund for an in-depth discussion in this video Add a form for episode selection, part of Easy PHP Projects: Single-Serving Sites.
- In this movie, we'll continue working…with our Is Star Wars Out Yet? single-serving site.…I have some thoughts…on how we can improve it further.…All right, now there's two changes…that occur to me here.…One is, what if we do nine?…Let's try that.…That one's not out yet.…Yes, it was released.…Wait a minute, hold on,…something's wrong here,…it was released on the day before…the UNIX timestamp starts, right?…So that's no good.…That didn't work out.…And then the second thing that I'm realizing…is that it would be nice…if the user had the ability…to change these,…the same way that we did…when we were working with leap years.…
So let's make that quick improvement…to our code.…Let's come back over here…and let's open up…is this a leap year.…Let's just grab this form…that we were working with here.…We're going to copy it,…I'm going to come down here…and below all of this,…we're going to paste this in.…So what we're going to change this text to…is going to be,…Which Star Wars Episode…and then, instead of having the gear here,…what we want is to actually have…
- Finding and validating an IP address with PHP
- Parsing the HTTP request for browser details
- Comparing dates and times in PHP
- Randomizing data with PHP
- Styling page content dynamically
- Generating random sentences
Skill Level Beginner
1. What is My IP Address?
2. Browser Mirror
3. Is it New Years Yet?
4. Random Data and Styling
5. Random Phrase Generator
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.