MySQL Forums
Forum List  »  Newbie

Re: Display sum of table in one line of text?
Posted by: Matthew Jones
Date: March 28, 2005 04:11PM

Ok, I think I am understanding you now. :)

So, using that query (I assume 'myclanwarz' would be the databse name, but what would 'team' be? a mysql table, or just a name that doesn't exist in mysql, that simply identifys something later on?), what php code would I need to add to make it work?

Would I start by querying it ( $result=my_sql_query(blah,blah) ? - not sure if that is right, without checking), then do a fetch array, then call it up with an echo thing?

Could this all be done in a block that can be added to the bottom of the page, or do I need to put parts in certain places?

Thanks for your help. Hope you sleep well. :p

Options: ReplyQuote


Subject
Written By
Posted
Re: Display sum of table in one line of text?
March 28, 2005 04:11PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.