PHP Code:
@move_uploaded_file$upload_Temp $uploadFile); 
chmod($uploadFile0644);
$upload_URL "uploads/".$upload_Name ;
$uploadFile "uploads/".$upload_Name ;
$id=$_POST['id'];
 
$name=$_POST['name']; 
 
$upload_Name=($_FILES['FILE']['name']);
 
//Writes the information to the database
 
mysql_connect("localhost""freak_admin""what") or die(mysql_error()); 
 
mysql_select_db("freak_doc") or die(mysql_error()); 
 
mysql_query("INSERT INTO `users_cv` VALUES ('$id', '$name', '$upload_Name')"); 

hello Developers

i have tried to find my way around this but no show.from the php admin everything works fine including the name of the file visible.



the above code works when i view the info on my view.php(the field for name shows)

however the field for upload_name is blank because the idea I had isnt working below

<td>&nbsp;echo "<a href=" ./ $upload_URL . basename($row_users['file']) . ">
{$row_users['upload_Name']}</a>";</td>



Can someone help me with what i am doing wrong ?



thanks
A newbie in php