These are first-time entering degree/certificate seeking students only.");
echo("
Academic Year = ".$acadyr.".");
echo("
| # | "); echo("Inst. Type | "); echo("Institution | "); echo("Underprepared | "); echo("First-Timers Seeking Deg/Cert | "); echo("Percent | "); echo("Entire Student Body | "); echo("Percent | "); echo("|
|---|---|---|---|---|---|---|---|---|
| ".$n++." | "); echo("".$inst_type." | "); echo("".$school_abbr." | "); //echo("".$fice_code." | "); // number of under-prepared students $cnt = 0; $query2 = "SELECT COUNT(DISTINCT(s.ssn_id)) AS cnt FROM student_table s WHERE s.fice_code = '".$fice_code."' AND s.academic_year = '".$acadyr."' AND s.enroll_status = '01' AND s.degree_intent IN ('2', '4', '6', '7', '8') AND ( (s.ent_exam_type = '0' AND s.ent_exam_score <= '15') OR (s.ent_exam_type = '1' AND s.ent_exam_score <= '740') OR (s.test_type_math = '0' AND s.test_math <= '15') OR (s.test_type_math = '2' AND s.test_math <= '25') OR (s.test_type_math = '3' AND s.test_math <= '18') OR (s.test_type_english = '0' AND s.test_english <= '15') OR (s.test_type_english = '1' AND s.test_english <= '380') OR (s.test_type_english = '2' AND s.test_english <= '39') OR (s.test_type_english = '3' AND s.test_english <= '49') OR (s.test_type_reading = '0' AND s.test_reading <= '15') OR (s.test_type_reading = '2' AND s.test_reading <= '38') OR (s.test_type_reading = '3' AND s.test_reading <= '70') ); "; //echo("".number_format($cnt,0)." | "); // number of first-time degree/certficiate seeking students $undup = 0; $query3 = "SELECT COUNT(DISTINCT(s.ssn_id)) AS undup FROM student_table s WHERE s.fice_code = '".$fice_code."' AND s.academic_year = '".$acadyr."' AND s.enroll_status = '01' AND s.degree_intent IN ('2', '4', '6', '7', '8'); "; //echo("".number_format($undup,0)." | "); $perc = ($cnt * 100) / $undup; echo("".number_format($perc,1)."% | "); // number of all students - entire student body $body = 0; $query4 = "SELECT COUNT(DISTINCT(s.ssn_id)) AS body FROM student_table s WHERE s.fice_code = '".$fice_code."' AND s.academic_year = '".$acadyr."'; "; //echo("".number_format($body,0)." | "); $perc2 = ($cnt * 100) / $body; echo("".number_format($perc2,1)."% | "); echo("
| Totals | "); echo("".number_format($cnt_total,0)." | "); echo("".number_format($undup_total,0)." | "); $perc_total = ($cnt_total * 100) / $undup_total; echo("".number_format($perc_total,1)."% | "); echo("".number_format($body_total,0)." | "); $perc2_total = ($cnt_total * 100) / $body_total; echo("".number_format($perc2_total,1)."% | "); echo("|||
| Scores Used: | ||||
|---|---|---|---|---|
| Test | Composite | Math | English | Reading |
| ACT (0) | 15 |
15 |
15 |
15 |
| SAT (1) | 740 |
380 |
||
| Asset (2) | 25 |
39 |
38 |
|
| Compass (3) | 18 |
49 |
70 |
|