kb9yjg Posted May 2, 2008 Share Posted May 2, 2008 Hey all, I have a couple of issues I need some help on. First off I have got a form that when filled out inserts data into the db. My issue here is that I am not getting the actual file name from the $_FILES['pdfname'] inserted into the table. All im getting is a slash / Second issue I am faced with is trying to get two uploads to happen on the same form. one for a pdf file and the other for an image file. How would I best rewrite the code to accept both pdf and a png in the fewest lines of code? Your help is greatly appreciated. If you could also suggest a way to insert the name of the image file in the db as well it would be greatly appreciated as well. See code below. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/103904-second-upload-and-_filesmysql-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.