| Note ID | Tech | Subject | Note | References |
|---|---|---|---|---|
| %s %s | %s | %s | %s | %s |
| %s | %s | %s | %s | %s |
| \n";
while ($tablerow = mysqli_fetch_assoc($note)) {
$thisnote = $tablerow["lognoteid"];
$refs = " " . $flagstring . " "; } else { $fmtnote = $fmtnote . " "; } if ($doparts) { // turn on the parts indicator if parts were entered with the note if (mysqli_num_rows(mysqli_query($db, "select logpartid from logparts where lognoteid=\"$thisnote\""))) { $fmtnote = $fmtnote . "PARTS"; } } // now print the line in the table if ($showtime) { printf( "%s %s %s %s %s %s \n", $tablerow["lognoteid"], $tablerow["lognoteid"], $tablerow["time"], $tname, $subjname, $refs, $fmtnote ); } else { printf( "%s %s %s %s %s \n", $tablerow["lognoteid"], $tablerow["lognoteid"], $tname, $subjname, $refs, $fmtnote ); } } echo " |