Topic: I need to add filename and path to mysql table (Read 2221 times)
Bill Cosby is my Father
Posts: 4
28 credits Members referred : 0
« on: Mar 03, 2007, 01:17:40 pm »
I am new to php. I tried the easy upload got the files uploaded to default folder. Actually my placement (Jobfinder) site where candidates can register their details in a mysql table (table also has a resume column) and upload their resume *.doc files. I want the name and full path of the resume file be stored in resume column of mysql table.
Can you please help me with an example file where visitor types his username in a text box and then uploads the file. After pressing the submit button files is uploaded and username and path of file is stored in a mysql table. (Say table has three columns, 1) ID, 2) Username 3) Full Path with file name.
This will hwlp me know which resume belongs to which candidate.
Regards, Imran
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #1 on: Mar 03, 2007, 01:23:35 pm »
No offense Imran, but are you looking to learn how to do that, or you want someone to do it for you?
I am asking because in the second case you should have to post here
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #2 on: Mar 03, 2007, 01:51:28 pm »
the "upload_db_example.php" has exactly this function.
If you have problems with changing this code that it works within your application than you should follow Nick's advice...
Bill Cosby is my Father
Posts: 4
28 credits Members referred : 0
« Reply #3 on: Mar 03, 2007, 04:55:56 pm »
I am new to PHP. I am learning while developing sites for my clients. I am located in India and engaged in providing computer education. If required I can post on other optional forum too.