Mutual Funds

$rollno=$_POST['rollno']; $dob=$_POST['dob']; $rollno=mysql_real_escape_string($rollno); $dob=mysql_real_escape_string($dob); $found=0; $qs="select * from oa_written where rollno='$rollno' and dob='$dob'"; $result=mysql_query($qs,$dbconnection); while(($row=mysql_fetch_object($result))!=NULL) { $qs2="select * from oa_interview where rollno='$rollno'"; $result2=mysql_query($qs2,$dbconnection); $row2=mysql_fetch_object($result2); $m30=""; $status=""; if($row2!=NULL) {$m30=$row2->m30;$status=$row2->status;} $status=""; $found=1; print("

Name:$row->name

"); $total=$row->tot70+$m30; print("

Mark Sheet

T1(RE)
[50]
T2(NA)
[50]
T3(GK)
[50]
T4(A)
(GE)
[50]
T4(B)
(GH)
[50]
Total out of
[200]
Total out of
[70]
Interview Marks out of
[30]
Total out of 100
$row->re$row->na$row->gk$row->ge$row->gh$row->tot200$row->tot70$m30$total
"); print("

While every care has been taken, the possibility of inadvertent error cannot be ruled out. The Bank reserves the right to rectify error(s), if any, later on."); break; } if($found==0) print("Roll No & Date of Birth combination not found");