OZONE Asylum
Forums
Server-Side Scripting - Oh my!
PHP related table question
This page's ID:
28043
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi all! Been a long time since I posted last...been busy eeking out a living. Anyway I need a bit of help and/or suggestion on how to handle some math after I run a php query of a mysql db. I spit the data into a table. The data consists basically of dates and how many unique visitors a website has received. I would like to add a column that adds each dates unique hit count to a culmination of all the previous days hits combined. See example... +-----------+---------+-----------------+ | date | unique | cumulative | +-----------+---------+-----------------+ |20050606 | 20 | 121 | |20050605 | 23 | 101 | |20050604 | 50 | 78 | |20050603 | 20 | 28 | |20050602 | 6 | 8 | |20050601 | 2 | 2 | +-----------+---------+-----------------+ Thanks in advance for any and all help!!!
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail