//this code is for upload,i have successfully uploaded my file in to uploads folder please can anyone tell me how can i get the image from my folder
$target_path = "uploads/";
$target_path = $target_path . basename( $uname);
echo "The file ". basename($uname).
" has been uploaded";
$sql ="INSERT INTO files (name,type,size) VALUES('".$uname."','".$type."','".$size."')";
echo "There was an error uploading the file, please try again!";