|
-
Feb 13th, 2009, 04:48 AM
#1
Thread Starter
New Member
upload data into mysql database in php?
i want to create a table with 3 columns these are, username, email, and cv.
database name =dbcv
and let the table is cv_tbl.
so now i have 3 textboxes these are for username, email, and cv .
then how do i do the code to upload only cv in pdf or microsoft format into my table cv_tbl?
and the second question is, assume the above problem is solved, then these data will be display in tablular form in my page, now i want to click one column filed in the row, that is let's say i click the cv2.pdf file, then i want it to down load it into my computer, how can i do that? can u post these codes here?thanks so much
-
Feb 19th, 2009, 12:57 AM
#2
Hyperactive Member
Re: upload data into mysql database in php?
you might want to ask your question more clearly.
-
Feb 24th, 2009, 09:00 AM
#3
Frenzied Member
Re: upload data into mysql database in php?
xxarmoxx is right dude....had to read a few times before I "gotcha".
Anyhow....
What most do is to save the pdf as is in a certain folder in your site. Then you save the path to the document in the database.
Just supplying the path as a hyperlink where you want to have it downloaded, will allow someone to click the link and save the pdf or just open it. (Did not do this for some time, so please correct me if wrong)
I did not read this, but this tutorial look like it address what you try to do exactly
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|