global $DB_site,$replacementsetid,$gzipoutput,$gziplevel,$newpmmsg,$microstats;
static $vars;
if (connection_status()) {
exit;
}
if (!isset($vars)) {
$vars=$DB_site->query("SELECT findword,replaceword FROM replacement WHERE replacementsetid IN(-1,'$replacementsetid') ORDER BY replacementsetid DESC,replacementid DESC");
} else {
$DB_site->data_seek(0,$vars);
}
Originally posted by Xenon i think you are right friend logician, but from a logical point of view, why should the use a static var, if it would always produce a query