i want to upload a profile image
of a user
to the server and i\'m stuck at ajax upload of image
all my form data are posting to datab
Just me or does your not have a "name" attribute? Therefore the server is not receive the file data from the post?
EDIT:
After you insert the record into the database, you then handle the file uploading - but you never then update the record with the files name.
*Just confirm that the file was uploaded.