Tuesday, March 17, 2009

Ch. 5 Working with data stored in files

This chapter discuss the used of files and databases together to build PHP applications.

Chapter example: Guitar War web site that maintain users' high scores and validates it. It needs to be able to handle a image upload.

Things learned:

SQL commands
ADD COLUMN - add a new column to the table
DROP COLUMN - remove a column from a table
CHANGE COLUMN - change the name and/or data type of a column
MODIFY COLUMN - changes the data type or position of the column in a table

$_FILES - this is another superglobal variable that provides access to information about uploaded files.

No comments:

Post a Comment