transScript.php
// builds an HTML Class history report for VolState
builds an HTML Class history report for VolState
builds an HTML Class history report for VolState
public static function buildVSClassRpt($dataobject, $query){
        $list_data = $dataobject->query($query);
        $table = new DOMDocument();
        $html = "<head><title>VolState Community College Course List</title></head><center><strong>Volunteer State Community College Course History</strong></center><br><br><table style='width:100%'><tr><th>Course</th><th>Catalog ID</th><th>Course Title</th><th>Credit Units</th><th>Course Term</th><th>Course Grade</th></tr><hr>";
        while ($row = $list_data->fetchArray()) {
            $html .= "<tr><td>$row[0]</td><td>$row[1]</td><td>$row[2]</td><td>$row[3]</td><td>$row[4]</td><td>$row[5]</td></tr>";
        }
        @$table->loadHTML($html);
        $table->saveHTMLFile('sysgens/VSClasses.html');
    }
public static function buildVSClassRpt ( $ dataobject , $ query ) { $ list_data = $ dataobject -> query ( $ query ) ; $ table = new DOMDocument ( ) ; $ html = " <head><title>VolState Community College Course List</title></head><center><strong>Volunteer State Community College Course History</strong></center><br><br><table style='width:100%'><tr><th>Course</th><th>Catalog ID</th><th>Course Title</th><th>Credit Units</th><th>Course Term</th><th>Course Grade</th></tr><hr> " ; while ( $ row = $ list_data -> fetchArray ( ) ) { $ html .= " <tr><td> $ row [ 0 ] </td><td> $ row [ 1 ] </td><td> $ row [ 2 ] </td><td> $ row [ 3 ] </td><td> $ row [ 4 ] </td><td> $ row [ 5 ] </td></tr> " ; } @ $ table -> loadHTML ( $ html ) ; $ table -> saveHTMLFile ( 'sysgens/VSClasses.html' ) ; }
builds an HTML Class history report for VolState
builds an HTML Class history report for VolState