Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Tech Support (https://novahq.net/forum/forumdisplay.php?f=37)
-   -   incorporate php file upload with MySQL form? (https://novahq.net/forum/showthread.php?t=45108)

pauldridge 06-16-2010 08:18 AM

incorporate php file upload with MySQL form?
 
I'm setting up a MySQL application which will both upload documents (.pdf) and store the document file name in an SQL table.

Not sure how to incorporate the file upload with simultaneously storing the file name in the SQL record. Any guidance would be helpful.

A very green php programmer

Lakie 06-16-2010 08:46 AM

Scott, the guy that coded this site, has a nice little script for uploading files
http://phphq.net/scripts.php?script=...der#phUploader

its a simple script to get your head around, from there when the file uplaods you would just need to do a mysql insert query and insert the filename, which id assme would already be held as a variable in the script...


All times are GMT -5. The time now is 01:55 PM.

Powered by vBulletin®