Mine
public text v1 · immutable$query = "SELECT points FROM year_end_votes WHERE record_id = '333'";
$result = mysql_query($query) or die('Error : ' . mysql_error());
$row = mysql_fetch_row($result);
$all_points = $row['points'];
echo "Total score = " . array_sum($all_points);