Upload
vernon-scott
View
224
Download
11
Embed Size (px)
Citation preview
Outline
IDEA -Exchange Student to United States
How It Works
- Evaluation from internet users about the professors or the lectures they give on a given data form - Everyone visiting the website can get the info and also able to leave some comments
-currently operating website in America www.RateMyPro-fessor.com
-Inappropriate contents gets deleted from the administrator
Out-line
Purpose
- Evaluation now being processed is for prof feedback only- Not much info on the syllabus for the students-Active info sharing among the students about prof and lectures
Function - Specific input data form ( including radio button & pull-down menus)
-Search uploaded data by putting in the name of the professor
- Searching specific info from the comments using keywords
Distinction and Origi-nality
Existing website: Ratemyprofessor.com
Four General Items + Overall Evaluation + Comment
Enabling of more inputs in the sub-cate-gory!
Searching func in the menu of Comments!
Conceptual Designing With ER Diagram
Started out with this ER diagram but some alteration was done upon this diagram
ER Schema for the ER Di-agram
Above 2 : uploaded by the administra-tor
Bottom one : uploaded by users
Entity Ta-bles
ER Schema for the ER Di-agram
A Relation Ta-ble
This table let’s the M:N rela-tionbetween the Entity tables Possible!
Progress on Programming and Designing
echo '<select name="department">'; echo "<option value= \"{$row['dept_name']}\"> {$row['dept_name']}
</option>\n"; }echo '</select>';$ld=trim($_POST['lecture_difficulty']);
$sld= $_POST['specific_lecture_difficulty']; $q= "INSERT INTO upload(prof_id, lec_diff …..);
<p>Lecture Difficulty: <input type="text" name="lecture_difficulty" size="10" maxlength="20" value="<?php echo $_POST['lecture_difficulty']; ?>" /></p>
Progress on Programming and Designing <form
action="searchresult.php" method="post"> <p>Professor Name: <input type="text" name="professorname" size="10" maxlength="20" /></p>
$sql= "SELECT * FROM professor p, upload u, comments c WHERE p.prof_id = u.prof_id AND c.upload_no = u.upload_noAND p.prof_id = u.prof_idAND p.prof_name LIKE '%$pf%'";
while( $rowset = mysqli_fetch_array($result, MYSQLI_ASSOC) ) { echo "<b>(1)LECTURE DIFFICULTY</b>:
<b>{$rowset['lec_diff']} </b> => ";echo " <b>reasoning</b>: {$rowset['spec_lec_diff']}<br/
><br/>";
Progress on Programming and Designing
<form action="searchresultoncomments.php" method="post"> <p>Searching in the Cate-gory of Comments: <input type="text" name="comment_content" size="60" maxlength="150" /></p> $query= "SELECT
comment_contents, profname FROM professor,upload , comments WHERE p.prof_id = u.prof_idAND c.upload_no = u.upload_no AND p.prof_id = u.prof_id AND c.comment_contents LIKE '%$cc%' ";
while( $rowset1 = mysqli_fetch_array($queryresult, MYSQLI_ASSOC) ) { echo "<b>Comments You Were Looking For</b>:
{$rowset1['comment_contents']} <br/><br/> => "; echo " <b>Professor which the Comment Above Belongs to</b>:
{$rowset1['prof_name']}<br/><br/><br/><br/>";