Skip navigation
Currently Being Moderated

Uploading Files into DB with php

Aug 1, 2012 5:23 AM

Hi There,

 

I am struggling with my php code.  I added an upload button into my site, here the consultants can add documents which they have worked on.  But...I cannot get these documents into a folder in the DB, nor can I get these documents to be viewed by a Teamleader with the original request number attached.

 

I used the normal script to do the Browse function:

 

"

<form enctype="multipart/form-data" action="post3.php" method="POST">

  <input type="hidden" name="MAX_FILE_SIZE" value="300000" />

  <span class="grey">Choose a file to upload</span>:

<input name="uploadedfile" type="file" />

<input type="submit" value="Upload File" align="middle" />

</form>

"

But my PHP code does not want to work nor does it want to display anything...(a bit frustrating)

 

can anyone please assist me with code or some pointers please..

 

Thank you in advance..

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points