i used this line in mysql with php to calculate the sum of a row ...
$sum=mysql_query("select SUM(score) from username where optionno = correct");
echo $sum;
now this gives output Resource id #6
what on earth does that mean please help people...i am new and learning and i wanna solve this ...how do i do with the script??






Bookmarks