I am trying to working on a student database, and have been getting problems to work out the percentage. I am getting lots of trouble with the posting of the code, so i posted line 123 and line 124.
$perca = $tota/ mysql_num_rows($result3);
echo number_format( $perca, 2, '.', '');