0 GROUP BY run ORDER BY created DESC LIMIT 1'; $res = $pdo->query( $query ); $row = $res->fetch(); $RUNNUMBER_LAST_DISPLAYED = $row['run']; // Set the PHP RUNNUMBER variable if caller supplied it or // 0 otherwise. // Note that this is just used to initialize the Javascript // RUNNUMBER variable which may then be updated by Javascript // later. // The RUNNUMBER_LAST variable is used to limit the run numbers // shown so the user can view older runs. $RUNNUMBER = isset($_REQUEST["RUNNUMBER"]) ? $_REQUEST["RUNNUMBER"]:0; $FILENUMBER = isset($_REQUEST["FILENUMBER"]) ? $_REQUEST["FILENUMBER"]:-1; $RUNNUMBER_LAST = isset($_REQUEST["RUNNUMBER_LAST"]) ? $_REQUEST["RUNNUMBER_LAST"]:$RUNNUMBER_LAST_DISPLAYED; //print('
RUNNUMBER_LAST_DISPLAYED='.$RUNNUMBER_LAST_DISPLAYED.'
RUNNUMBER_LAST='.$RUNNUMBER_LAST.'
'); ?>

HOSS Run/File Info. DB

Run: