habe die anweisung jetzt wie folgt:
und mein apache hat ne auslastung von 90-99 %.
PHP-Code:
$u=0;
while($z>=$u)
if (in_array($tempdb[$u],$artno) ){
$query = "UPDATE artikel SET SHOP_DEL_FLAG = 'Y' WHERE ARTNUM = '{$tempdb[$u]}'";
$result = mysql_query($query) or die("Anfrage fehlgeschlagen: " . mysql_error());
//echo in_array($tempdb[$u],$artno);
//echo $tempdb[$u];
$u++;
}


Kommentar