Signed in as:
Sign out
Links
Advanced Websites
Layout and design
Backgrounds
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
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
back list forward
Email us if you would like additional information. We would love to see your comments and recommendations for our site.
Our privacy policy: we use cookies to keep track of where you are on the site, but we do not leave cookies on your site; we do not track your visits; we do not disseminate any information about you because we do not gather any information about you.