The question is - How to display the value of the sample? +)

$summa = mysql_query("SELECT SUM(amusd) FROM tabl WHERE status!=0 AND id=$id")or die(mysql_error()); 

1 answer 1

Selection elements may have aliases.

 SELECT SUM(amusd) as sum_amusd FROM tabl WHERE status!=0 AND id=$id 

Refer to the sum_amusd column (the alias sum_amusd taken as an example, there can be any string.)

PS: the word as can be omitted.