mbrown Posted January 31, 2009 Share Posted January 31, 2009 I want to be able to upload documents for a specific record. How is this possible? I mean I wan to be able to run a report and have links to the specified files. thanks Quote Link to comment https://forums.phpfreaks.com/topic/143253-upload-script/ Share on other sites More sharing options...
ToonMariner Posted January 31, 2009 Share Posted January 31, 2009 no quite sure what you are aiming for but php's file upload stuff is a good place to start. Quote Link to comment https://forums.phpfreaks.com/topic/143253-upload-script/#findComment-751288 Share on other sites More sharing options...
mbrown Posted January 31, 2009 Author Share Posted January 31, 2009 I want to upload a file related to a specific record i am inserting into the database. Then when I run a report on serial number xxxxxxxx all the information comes up Files: file1.doc file2.docx etc etc Quote Link to comment https://forums.phpfreaks.com/topic/143253-upload-script/#findComment-751291 Share on other sites More sharing options...
premiso Posted January 31, 2009 Share Posted January 31, 2009 Take the same deal, instead of displaying links, make a query to insert it into a table in the DB. You either have to make a column for that info, or make a new table that references the SN and can have multiple records for files. Quote Link to comment https://forums.phpfreaks.com/topic/143253-upload-script/#findComment-751308 Share on other sites More sharing options...
mbrown Posted January 31, 2009 Author Share Posted January 31, 2009 you mean like the type blob or one of the table fields? I have not really found any good online tutorial. Can you guys give me a small tutorial or recommend one for me. thanks Quote Link to comment https://forums.phpfreaks.com/topic/143253-upload-script/#findComment-751317 Share on other sites More sharing options...
Thauwa Posted January 31, 2009 Share Posted January 31, 2009 can you give more details of your problem? i am a bit low in understanding Quote Link to comment https://forums.phpfreaks.com/topic/143253-upload-script/#findComment-751354 Share on other sites More sharing options...
mbrown Posted February 8, 2009 Author Share Posted February 8, 2009 I am discussion on how the best way to do a upload that is for a specific record. I am still lost with it. Quote Link to comment https://forums.phpfreaks.com/topic/143253-upload-script/#findComment-757776 Share on other sites More sharing options...
mbrown Posted February 8, 2009 Author Share Posted February 8, 2009 Since I can not edit my last post I have found a script to do this with that does images but I can easily mod it to do it for .doc files. When I run a query how to do I pull to show you like something you guys said? Quote Link to comment https://forums.phpfreaks.com/topic/143253-upload-script/#findComment-757791 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.