Secant Experimental Project

Data Bases:

Database .'">'.$dba->Database.'
'; } if(!mysql_select_db($DB)) { //if(!mysql_select_db(ExpProject)) { echo "Can't find database"; } ////////////////////////////////////////// $query = sprintf ("SELECT * FROM Problem ORDER BY problemname;"); $res = mysql_query($query, $dbh); if (!$res) { echo mysql_errno().": ". mysql_error ().""; return 0; } $atable = new html_table(array('border' => 1,'width'=>'0%','cellpadding'=>2)); $atable->alternate_color(0,'#DCFFFD'); $atable->celldefault['width'] = 100; $atable->new_row(); $atable->new_cell('Problem'); $atable->new_cell('Not started'); $atable->new_cell('In progress'); $atable->new_cell('Completed'); $atable->new_cell('Instances done'); while ($thearray = mysql_fetch_array($res)) { extract ($thearray); $atable->new_row(); $totlink = ''.$problemname.''; $atable->new_cell($totlink); # Not started? if( $started ) { $atable->new_cell(' '); } else { $atable->new_cell('X',array('align'=>'middle')); } # In progress? if( $started && !$completed ) { $atable->new_cell('X',array('align'=>'middle')); } else { $atable->new_cell(' '); } # Completed? if( $completed ) { $atable->new_cell('X',array('align'=>'middle')); } else { $atable->new_cell(' '); } $atable->new_cell($instancenumber.'/'.$totalnuminstances); } echo '
'; echo '
All Problems:

'; $atable->show_table(); ?>
Team Calendar

Project Webpage