CS 461 / 462 / 463: Preparation for Excellence

Career Preparation and Software Engineering Capstone Project

Fall-Winter-Spring Quarters 2007-2008

id = $id\n"; $resultid = mysql_query( "SELECT * FROM proposals2007 WHERE id = '$id'" ); if( $resultid == FALSE ) { print "

Cannot select from project2007

\n"; die(); } # print "

Selected from proposals2007.

\n"; $last = mysql_result( $resultid, 0, "last" ); $first = mysql_result( $resultid, 0, "first" ); $affiliation = mysql_result( $resultid, 0, "affiliation" ); $phone = mysql_result( $resultid, 0, "phone" ); $email = mysql_result( $resultid, 0, "email" ); $website = mysql_result( $resultid, 0, "website" ); $projecttitle = mysql_result( $resultid, 0, "projecttitle" ); $prerequisites = mysql_result( $resultid, 0, "prerequisites" ); $teamsize = mysql_result( $resultid, 0, "teamsize" ); $motivation = mysql_result( $resultid, 0, "motivation" ); $overview = mysql_result( $resultid, 0, "overview" ); $objectives = mysql_result( $resultid, 0, "objectives" ); $deliverables = mysql_result( $resultid, 0, "deliverables" ); $othercomments = mysql_result( $resultid, 0, "othercomments" ); if( $motivation == "" || $motivation == " " ) { $motivation = " "; } if( $overview == "" || $overview == " " ) { $overview = " "; } if( $prerequisites == "" || $prerequisites == " " ) { $prerequisites = " "; } if( $objectives == "" || $objectives == " " ) { $objectives = " "; } if( $deliverables == "" || $deliverables == " " ) { $deliverables = " "; } if( $othercomments == "" || $othercomments == " " ) { $othercomments = " "; } print "

\n"; print "
FieldValue\n"; print "
Name:$first $last\n"; print "
Affiliation:$affiliation\n"; print "
Phone:$phone\n"; print "
E-mail:$email\n"; if( $website == "" || $website == " " || $website == "_" ) { print "
Website: \n"; } else { print "
Website:$website\n"; } print "
Project Title:$projecttitle\n"; print "
Knowledge Required:$prerequisites\n"; print "
Suggested team size:$teamsize\n"; print "
Motivation:$motivation\n"; print "
Description:$overview\n"; print "
Objectives:$objectives\n"; print "
Deliverables:$deliverables\n"; print "
Other comments:$othercomments\n"; print "
\n"; mysql_free_result( $resultid ); mysql_close(); ?>