Do you see an error message, or is the file not uploaded?
Besides the SQL issues, there are also security issues with your upload script. For instance, just checking the file-type header of the $_FILES array to see if the file is a pdf, is very unsafe. Reason: I can set such a header to anything, which would allow me to upload batch scripts through your form while your script thinks it's a pdf.