transScript.php
// builds an HTML Class history report for Penn State
builds an HTML Class history report for Penn State
builds an HTML Class history report for Penn State
public static function buildPSUClassRpt($dataobject, $query){
        $list_data = $dataobject->query($query);
        $table = new DOMDocument();
        $html = "<head><title>Penn State University Course List</title></head><center><strong>Pennsylvania State University 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/PSUClasses.html');
    }
public static function buildPSUClassRpt ( $ dataobject , $ query ) { $ list_data = $ dataobject -> query ( $ query ) ; $ table = new DOMDocument ( ) ; $ html = " <head><title>Penn State University Course List</title></head><center><strong>Pennsylvania State University 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/PSUClasses.html' ) ; }
builds an HTML Class history report for Penn State
builds an HTML Class history report for Penn State