When trying to do this query:

$rsum =mysql_query("SELECT SUM(rating) FROM ratings where threadid = $ratevar")or
die (mysql_error());

This is the output:
Resource id #15
or some other seemingly arbitrary Resource ID number?
First of all what is a resource ID and second how do I get it to actually show what I 
am trying to get it to show!
John 

Reply via email to