We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 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
Doooford
Posts: 471 Forumite
in Techie Stuff
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:
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:
0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 352.5K Banking & Borrowing
- 253.7K Reduce Debt & Boost Income
- 454.5K Spending & Discounts
- 245.5K Work, Benefits & Business
- 601.4K Mortgages, Homes & Bills
- 177.6K Life & Family
- 259.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards