0 ORDER BY `se_users`.`user_id` DESC LIMIT 5000 OFFSET 30000"; $result= mysql_query($sql) or $em=$em.mysql_error(); while ($row = mysql_fetch_assoc($result)) { $email=trim($row["user_email"]); $testemail=checkEmail($email); if ($testemail) { $sqlup="UPDATE se_users SET user_pdp_evc = 1 WHERE user_email = '".$email."'"; //$rup = mysql_query($sqlup) or $em=$em.mysql_error(); echo "
".$row["user_email"]." ".$row["user_id"]." cool
"; //mail($email, 'Confirm Email', 'Please reply to this email to confirm', 'From:'.$sender."\r\n"); // send email } else { $sqldown="UPDATE se_users SET user_pdp_evc = 0 WHERE user_email = '".$row["user_email"]."'"; $rup = mysql_query($sqldown) or $em=$em.mysql_error(); echo "
".$row["user_email"]." ".$row["user_id"]." not cool
"; } } exit(); ?>