Originally posted by bubblenut
Unless you're doin outputbuffering then it will do. However, the lag may not be in the mailing but in the actual query. When you perform myqsl_query the query must complete before the function can return. This is where most bottlenecks occur
HTH
Bubble
My query is rather simple, so I doubt it causes much delay ...
if ($wie == "transfer"){
$ookwaar = "WHERE ((datum < '$vorigeweek') AND (id LIKE 'man_%'))";
}else{
$ookwaar = "WHERE (datum < '$vorigeweek')";
}
$resulttemps = mysql_query("SELECT email,last_name,datum,prod_id FROM $mysql_tempdata_table $ookwaar GROUP BY email");
At this point less than 250 clients who need these mails, but it grows steadily.