@move_uploaded_file( $upload_Temp , $uploadFile);
$upload_URL = "uploads/".$upload_Name ;
$uploadFile = "uploads/".$upload_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')");
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> echo "<a href=" ./ $upload_URL . basename($row_users['file']) . ">
Can someone help me with what i am doing wrong ?
A newbie in php