The redirect
function cleans the output buffer and does a header('Location:...');
redirection and exits script execution. The part you are trying to echo will never be outputted.
You should either notify on the download page or notify on the page you redirect to about the missing data.