Q:

How to send multiple emails from database as CC with PHPMailer?

I have a database. The fields are id, email and city. I want to send some email to all emails in my database. 
In e.g case: I live in a city, so I want to send an email to all emails matchting my city.
I have wrote my method code like this:
 $kota = mysql_real_escape_string(stripcslashes( $_POST['kota']));
        $baca_kota = mysql_query("SELECT email FROM conselor WHERE kota='$kota'");
        while($read = mysql_fetch_array($baca_kota))

        {

            $emailcc = $read['email'];
        }

        require '../phpmailer/PHPMailerAutoload.php';
        require '../phpmailer/class.phpmailer.php';

        $mail = new PHPMailer;
        //$mail->SMTPDebug = 3;                               // Enable verbose debug output

        $mail->isSMTP();                                      // Set mailer to use SMTP
            $mail->Host = 'xxxxxxxxxxxxxxxxxx';  // Specify main and backup SMTP servers
            $mail->SMTPAuth = true;                               // Enable SMTP authentication
            $mail->Username = 'xxxxxxxxxxxxxxx';                 // SMTP username
            $mail->Password = 'xxxxxxxxxxxxxxx';                           // SMTP password
            $mail->SMTPSecure = 'ssl';                            // Enable TLS encryption, `ssl` also accepted
            $mail->Port = 465;                                    // TCP port to connect to

        $mail->setFrom($email,$name);
        $mail->addAddress('stevanlai04@gmail.com');     // Add a recipient
        $mail->addReplyTo($email);
        $mail->addCC($emailcc);

A:

Do $mail->addCC($emailcc); inside the loop:
while ($read = mysql_fetch_array($baca_kota)) {
    $emailcc = $read['email'];
    $mail->addCC($emailcc);
}

