Create an Upload-File Form

To allow users to upload files from a form can be very useful.

Look at the following HTML form for uploading files:

PHP MySQL Select

The SELECT statement is used to select data from a database.
Syntax:
SELECT column_name(s) FROM table_name

To get PHP to execute the statement above we must use the mysql_query() function. This function is used to send a query or command to a MySQL connection.