New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

PHP for Web Designers
Illustration by

PHP for Web Designers

with David Powers

Video: Welcome

Hi I'm David Powers and welcome to PHP for web designers.
Expand all | Collapse all
  1. 14m 11s
    1. Welcome
      1m 30s
    2. What you should know before watching this course
      3m 52s
    3. Using the exercise files
      5m 13s
    4. Configuring MAMP to show errors (Mac)
      3m 36s
  2. 37m 47s
    1. How PHP makes web pages dynamic
      5m 23s
    2. How to use PHP in a web page
      6m 43s
    3. Using variables to store information
      2m 52s
    4. Storing numbers and text in variables
      5m 18s
    5. Displaying the values of number and text variables
      8m 9s
    6. Using functions to manipulate values
      4m 36s
    7. Adding comments to PHP scripts
      4m 46s
  3. 24m 43s
    1. What are server-side includes?
      4m 4s
    2. Deciding which include command to use
      5m 40s
    3. Challenge: Moving common elements to include files
      1m 54s
    4. Solution: Moving common elements to include files
      7m 4s
    5. Making sure internal links still work in an include file
      6m 1s
  4. 38m 10s
    1. How PHP makes decisions
      3m 30s
    2. Changing output depending on the current time
      9m 1s
    3. Adjusting the server's time zone
      8m 57s
    4. Displaying an up-to-date copyright notice
      6m 18s
    5. Challenge: Displaying an image of the month
      2m 15s
    6. Solution: Displaying an image of the month
      5m 12s
    7. Understanding what PHP treats as true and false
      2m 57s
  5. 54m 22s
    1. Storing multiple values in a variable as an array
      4m 28s
    2. Inspecting an array's elements
      4m 13s
    3. Challenge: Inserting the appropriate alt text
      1m 27s
    4. Solution: Inserting the appropriate alt text
      5m 26s
    5. Displaying an array as a comma-separated list
      3m 13s
    6. Looping through an array's values
      7m 17s
    7. Labeling array elements
      7m 22s
    8. Looping through an array's labels and values
      5m 29s
    9. Finding if a value exists in an array
      3m 51s
    10. Challenge: Displaying a seasonal feature
      3m 6s
    11. Solution: Displaying a seasonal feature
      8m 30s
  6. 1h 14m
    1. Getting form input sent by the POST method
      4m 48s
    2. Retrieving values from a URL's query string
      4m 8s
    3. Challenge: Plan the order form
      2m 28s
    4. Solution: Plan the order form
      4m 42s
    5. Finding and extracting a substring
      7m 38s
    6. Organizing the form data into arrays
      7m 15s
    7. Using a loop to build a table for the data
      4m 42s
    8. Controlling which rows are displayed
      7m 45s
    9. Creating a custom function to extract part of a file name
      7m 43s
    10. Calculating the order total
      6m 34s
    11. Using PHP sessions to preserve data
      3m 14s
    12. Storing data in session variables
      7m 33s
    13. Ending the PHP session and deleting the data
      5m 37s
  7. 50m 10s
    1. Loading data into MySQL
      5m 37s
    2. Connecting to the database
      7m 47s
    3. Querying the database
      6m 15s
    4. Displaying the results of the query
      3m 50s
    5. Using modulo division to establish a repeating series
      4m 20s
    6. Repeating output at specific intervals in a loop
      4m 56s
    7. Linking to a details page
      2m 40s
    8. Embedding a variable in a query securely
      6m 5s
    9. Handling database errors gracefully--and securely
      8m 40s
  8. 30m 12s
    1. Dealing with PHP errors
      4m 15s
    2. Why is my page blank or incomplete?
      3m 53s
    3. Tracking down parse errors
      4m 32s
    4. What to do with "failed to open stream"
      3m 22s
    5. What does "headers already sent" mean?
      6m 19s
    6. What does undefined index, variable, or constant mean?
      5m 52s
    7. What on earth is T_ENCAPSED_AND_WHITESPACE?
      1m 59s
  9. 2m 26s
    1. What's next?
      2m 26s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
PHP for Web Designers
5h 26m Beginner Dec 09, 2013

Viewers: in countries Watching now:

There are many great reasons to learn PHP. You can reduce manual updates to webpages, get user input, and connect to a database of products or other information. But some web designers are intimidated by the theory and jargon. PHP for Web Designers is different. Author David Powers provides a gentle introduction to PHP, through a series of simple exercises that help you develop fully functional dynamic webpages—all powered by PHP. Learn how to reduce website maintenance by moving common page elements to external server-side include files, change content automatically depending on the date or time, display alternate text, gather user input from a form, and link to a database to display product information. The final chapter is dedicated to understanding error messages and fixing their root causes.

Note: This course was recorded with Adobe Dreamweaver, but you can use the code editor of your choice to follow along.

Topics include:
  • How to use PHP in a webpage
  • Storing and displaying text and numbers in variables
  • Using functions
  • Adding comments to your PHP scripts
  • Moving common page elements to include files
  • Displaying different content on a page
  • Working with multiple values in arrays and loops
  • Getting form input sent by the POST method
  • Using PHP sessions to preserve data
  • Storing data in session variables
  • Connecting to and querying a database
  • Handling errors
Subjects:
Developer Web Web Design Web Development
Software:
PHP
Author:
David Powers

Welcome

Hi I'm David Powers and welcome to PHP for web designers. I've been using PHP, the most popular service side language, to add dynamic features to websites for more then a dozen years. And I want to show you how PHP can make your websites more efficient. You don't need a programming background. I'll start by showing you various techniques through simple exercise files with only a few lines of code. Then we'll take those same techniques and apply them to a website for a ficticious flower design company.

You'll move the site's navigation menu and foot it to external files so they can be updated in just one place rather than every page. You'll also see how to process an online form and display the results. The final project links the site to a database and shows how to display a series of related products in one page. And link to individual product details on another. There's also a chapter dedicated to helping you understand PHP error messages and fix whatever caused them.

Working with PHP requires a different approach from design, but I won't bombard you with dense programming theory and jargon. I started using PHP to reduce a lot of the tedious repititon required by static HTML. And I want to share that knowledge with you, so join me in exploring PHP for Web Designers.

There are currently no FAQs about PHP for Web Designers.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

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.


Mark all as unwatched Cancel

Congratulations

You have completed PHP for Web Designers.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.