if ($count == 1){
$suc= move_uploaded_file($file_tmp, $destin.$file_name);
echo"<br/>";
$query = mysqli_query($con,"INSERT INTO login ( profile_img) VALUES ('$file_name') WHERE useremail='".$_SESSION["sess_useremail"]."'") or die("can
t still upload ".mysql_error());}
phoenix254 0 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.