here is my code i and got this error while running it
Notice: Undefined index: Reg_no in D:\wamp\www\mohammed\geo.php on line 12
Notice: Undefined index: Reg_no in D:\wamp\www\mohammed\geo.php on line 12
mysql_connect("localhost","root","");
mysql_select_db("new");
$query= "SELECT SUM(Reg_no)+SUM(class) FROM fee_info GROUP BY Reg_no";
$result = mysql_query($query) or die(mysql_error());
// Print out result
while($row = mysql_fetch_array($result)){
// echo "Total ". $row['Reg_no']. " = $". $row['sum(class)'];
$new=$row['Reg_no'];
echo "$new";
}