I am trying to query e-mails from a database that holds approx 170,000 rows of data. I have a basic mysql php script that works, but only will show the first 34,000 or so data.
My ultimate goal is to purge a large database of duplicates. How could I go about this?
<?php
$query="SELECT * FROM guess ORDER BY id";
$result=mysql_query($query);
$num=mysql_numrows($result);
mysql_close();
?>
First
<?php
$b=30000;
while ($b < 60000) {
$id = mysql_result($result,$b,"id");
$email = mysql_result($result,$b,"Email");
?>
<?php echo $b; ?>. <?php echo $email ?> <br />
<?php $nummer++; $b++; } ?>
second
By using the above, I was going to store all the rows that contain an email in a php array.
Then, write write a script that will find duplicate emails and strip them. Finally, print the code in a browser, copy and paste in text and upload to my chimpmail.