$mail= new PHPMailer();
    $mail->IsSMTP();
    $mail->SMTPAuth = true;
    $mail->SMTPSecure = "ssl";
    $mail->Host = "smtp.gmail.com";
    $mail->Port = 465;
    $mail->CharSet = "utf8";
    $mail->Body = "".$row.""; that"s fine 
 but not while: 
$mail= new PHPMailer();
    $mail->IsSMTP();
    $mail->SMTPAuth = true;
    $mail->SMTPSecure = "ssl";
    $mail->Host = "smtp.gmail.com";
    $mail->Port = 465;
    $mail->CharSet = "utf8";
    $mail->Body = "".while($row = mysqli_fetch_array($data)){}."";
    this is the only way to report, so I can"t write
. how do you put information on body? 
 because I want to print data and send it to customers, there are many, so I have to use while 
