> Ok I think your definently going in the right direction - when I put this
> into my "series" I seem to be getting this message for each result:
> "Resource id #40" or some other number that in some way represents
> something?  Any Clue?  Here is my SQL:
> $rsum =mysql_query("select sum(rating) from ratings")or
> die (mysql_error());
> John

You are missing quite a bit there - $rsum is merely a pointer to the data. 
Look at which has an example of how 
to connect to mysql, issue a query and display the results of the query. 
Also, you might find useful in future.

David Robley
Temporary Kiwi!

Quod subigo farinam

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to