\n"); ?> <?php print "$process"; ?> statistics for run <?php print "$run"; ?>
Statistics for $process $statistics_tables $titlestr\n"; ?> Back to main
ID'; print ''; }; /* Connecting, selecting database */ $link = mysql_connect() or die("Could not connect : " . mysql_error()); mysql_select_db($database_name) or die("Could not select database"); /* Performing SQL query */ $query = "DESCRIBE $stattable"; $result = mysql_query($query) or die("Query failed : " . mysql_error()); $fieldnames=array(); while($line = mysql_fetch_array($result)){ array_push($fieldnames,$line[0]); if($line[0]!='id') print "\n"; }; if($run){ $query = "SELECT f.id,f.file,s.* FROM $file_table f,$stattable s" ." WHERE f.id=s.id AND f.run=$run ORDER BY file"; } else { $query = "SELECT * FROM $stattable ORDER BY run"; }; $result = mysql_query($query) or die("Query failed : " . mysql_error()); ?> \n"; for($i=0;$i".$arr[$i]."\n"; }; print "\n"; }; ?>
File #".$line[0]."