$r
will only be false if there was SQL error. Otherwise it will always return a resource ID even if no rows are returned by your SELECT statement.
Use mysqli_num_rows() to count how many rows are returned. Zero means no one is using that email address.
if(mysqli_num_rows($r))
echo "Email address exists!";
else
echo "sss";