You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$result = mysql_query("select distinct schoolname from school where taluk='$taluk'")
or die(mysql_error());
$ans="";
//echo mysql_num_rows($result);
while($row=mysql_fetch_array($result))
{
$schoolname=$row[0];//echo $schoolname;
$resultscore=mysql_query("select sum(maxmarks),sum(marksscored) from exam e,student s,school sc where e.studentid=s.studentid and s.presentschoolid=sc.schoolid and sc.schoolname='$schoolname'")