66 |
mastersubject |
mastersubject |
67 |
FROM mastersubject |
FROM mastersubject |
68 |
ORDER BY mastersubject"; |
ORDER BY mastersubject"; |
69 |
$rs = mysql_tryquery($sql); |
$rs = xx_tryquery($sql); |
70 |
|
|
71 |
// Initialize counter |
// Initialize counter |
72 |
$rowcount = 0; |
$rowcount = 0; |
73 |
|
|
74 |
// Cycle through the result set |
// Cycle through the result set |
75 |
while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { |
while ( $row = xx_fetch_array ($rs, xx_ASSOC)) { |
76 |
$mastersubject_id = Trim($row["mastersubject_id"]); |
$mastersubject_id = Trim($row["mastersubject_id"]); |
77 |
$mastersubject = Trim($row["mastersubject"]); |
$mastersubject = Trim($row["mastersubject"]); |
78 |
|
|
98 |
. $mastersubject_id |
. $mastersubject_id |
99 |
. " ORDER BY m.masterinfotype, i.infotype"; |
. " ORDER BY m.masterinfotype, i.infotype"; |
100 |
|
|
101 |
$sub_rs = mysql_tryquery($sub_sql); |
$sub_rs = xx_tryquery($sub_sql); |
102 |
$sub_rowcount = 0; |
$sub_rowcount = 0; |
103 |
|
|
104 |
// Cycle through the result set |
// Cycle through the result set |
105 |
while ( $sub_row = mysql_fetch_array ($sub_rs, MYSQL_ASSOC)) { |
while ( $sub_row = xx_fetch_array ($sub_rs, xx_ASSOC)) { |
106 |
$masterinfotype = Trim($sub_row["masterinfotype"]); |
$masterinfotype = Trim($sub_row["masterinfotype"]); |
107 |
$infotype = Trim($sub_row["infotype"]); |
$infotype = Trim($sub_row["infotype"]); |
108 |
|
|