[jQuery][PHP]

[jQuery][PHP]

I've got form which sends a few values from fields to database by PHP file. It works fine, but I want to add image upload filed in this form. It should work like that:

1. Fill text fields (name, address, age etc.)
2. Select image file from hard disk to upload.
3. After upload is done, show thumbnail image.
3. Press submit button.
4. Values from text fields are send to database with name and extension of uploaded file.