Php If Variable Is Not Null Mysql Download