Close

Not a member yet? Register now and get started.

login icon

Sign in to your account.

Account Login

Forgot your password?

PHP Tutorial

Reading List

Click here to download the PHP Reading List

Workshop Exercises

Click here to download the PHP Workshop Exercises (solutions).

Currently Viewing: Conditional and Looping Statements

Download Video: MP4, HTML5 Video Player by VideoJS

Videos

Introduction to Server Side Programming

PHP Introduction and Basic Syntax

Variables and Strings

Conditional and Looping Statements

Functions

Arrays

More about Arrays and the for-each Loop

Dealing with Forms and HTTP Requests

Cookies and Sessions

Connecting to MySQL

Conclusion

Materials

PHP Slides (used in lectures)

Additional Resources

PHP Manual

PHP Tutorial (w3schools)

Questions?

Contact us at 6.470-staff@mit.edu or come to our Office Hours

Page and content by Charles Liu.