Lesson 8: String handling and date / time

 Signed in as:    
      Sign out



Your home page

Advanced Websites
   Layout and design
   Page framing
   Server Side Includes
   Introduction to CGI
   Introduction to php
   php: 'if', emails
   php: string handling and date / time
   php: file handling
   Responsive Web Design
   Processing images
   php: databases
   php: logins and passwords
   Tracking hits
   Navigation I
   Navigation II

Our first look at string handling in php, and some date / time functions. Topics include:



Note: I strongly suggest you view all our videos in full screen mode: click the icon in the lower right corner of the video area (it shows four arrows pointing to the corners of the screen). When you are done, the Esc ("escape") key returns you to regular mode.


Lesson 8: string handling and date / time

Click here for the video transcript


Hands on exercise

This exercise is primarily focused on creating file names and constructing date / time strings

We'll start by declaring variables "$today" and "$now", using the format patterns of your choice, then setting up instructions to format first name and last name to have the structure discussed in lecture, ending up with the notification page to the user reflecting the date and time of the sign up request and echoing the generated user filename.



Supplemental materials

    A cumulative summary of the contents of the course so far: Click here for the cumulative technical summary
    For a combined cumulative summary of both Web courses so far, Click here



 Lesson navigation 



Email us if you would like additional information. We would love to see your comments and recommendations for our site.