📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Moneyometer help - SQL Script

Hi everyone, I have produced an SQL string to total the donations made through a website. I now need to get this figure to be referenced by the index.php file of this site and also for it to either update server side every minute or so, or run every time the index.php file is accessed.
What do you think the best solution for this is?

The SQL string is:-

SELECT SUM(value) as 'Total Orders'
FROM `toc_orders_total`
WHERE `title` = 'Sub-Total:'

:beer:
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 355.9K Banking & Borrowing
  • 255K Reduce Debt & Boost Income
  • 456.2K Spending & Discounts
  • 248.4K Work, Benefits & Business
  • 606.1K Mortgages, Homes & Bills
  • 179.1K Life & Family
  • 264K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards
Quick Search

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.