I am try to Upload a File and write to MySQL but I keep getting an error Undefined index: ../upload two parts of my code can anyone see where I am going wrong?
//This is the directory where files will be saved
$target = "upload/";
$target = $target . basename( $_FILES['../upload']['name']);
//Writes the pdf to the server