Receiving

\n"; switch ($nr) { case "0": echo "TID {$_REQUEST['requeueID']} is not in transaction log
\n"; break; case "1": $r = mysql_fetch_assoc($r); logChange($r['tble'], $r['tid']); break; default: echo "ERROR: TID {$_REQUEST['requeueID']} returns multiple
\n"; break; } // if ($nr == 1) // logChange($r['tble'], $r['tid']); // else if ($nr == 0) // echo "TID {$_REQUEST['requeueID']} is not in transaction log
\n"; // else // echo "ERROR: TID {$_REQUEST['requeueID']} returns multiple
\n"; } else if (!empty($_REQUEST['requeueID'])) { // make sure that the tid is IN that table $q = "select `tid` from `{$_REQUEST['tblname']}` where `tid`='{$_REQUEST['requeueID']}'"; $r = sqlEx($q); $nr = mysql_num_rows($r); echo "\n"; if ($nr) logChange($_REQUEST['tblname'], $_REQUEST['requeueID']); else echo "TID {$_REQUEST['requeueID']} is not in table {$_REQUEST['tblname']}
\n"; } else if (!empty($_REQUEST['requeueLimit'])) { $q = "select `tid` from `{$_REQUEST['tblname']}` order by lastmod desc limit {$_REQUEST['requeueLimit']}"; $r = sqlEx($q); while ($ent = mysql_fetch_row($r)) { logChange($_REQUEST['tblname'], $ent[0]); //echo "Queuing {$ent[0]}
\n"; } } //debug(); $tblList = sqlEx("SHOW TABLES"); echo "
\n"; echo " or entries

Single TID: