PHP query that counts all records in the past month

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
diseman
Forum Contributor
Posts: 174
Joined: Mon Jul 26, 2010 1:30 pm
Location: Florida

Re: PHP query that counts all records in the past month

Post by diseman »

Hi Celauran,

I got it. Simple oversight as is most often the case I imagine. I had three queries on one page and wasn't naming each $results uniquely.

I knew it the second it occurred to me. When I added a 1,2, & 3 to each $result (i.e $result1, $result2, $result3) it worked as expected.

Thank you again for your help. Always appreciate what you do for us.

Until next time! ;)

Michael
Post Reply