"; //etc. etc. ?>

Computer Science advising times

Sign up here if you have NOT successfully passed through the gateway courses CSCI 1302 and CSCI 2610 with a B in each. If you have passed the gateway, you should have a CS faculty advisor. Look here to find your faculty advisor.

Slots colored blue represent available advising times. To register for an advising appointment:

"; $result = mysql_query("select * from signups where week = $week"); $n_results = mysql_num_rows($result); // echo "There were $n_results records for week $week
\n"; for ($record=0; $record<$n_results;$record++) { //enter a record into the student and color arrays $query_row = mysql_fetch_row($result); $the_day = $query_row[1]; $time= $query_row[2]; if ($query_row[3] == NULL) { // echo "setting color $time $the_day to blue
\n"; $color [$time][$the_day] = "deepskyblue"; } $student [$time][$the_day] = $query_row[3]; } echo ""; echo "
Time/Day"; for ($i=0;$i<5;$i++) { echo "\n".$day[$week][$i]; } for ($i=0;$i<12;$i++) { echo "
$apptTime[$i]"; for($j=0;$j<5;$j++) { echo " \n"; if ($color[$i][$j] == "deepskyblue") { echo ""; }//if echo $student[$i][$j]."\n"; }//for j }//for $i echo "
"; }//for $week ?>

Your name: