Jump to content

Monthly Stats How Do I Show Them?


ipwnzphp

Recommended Posts

well, i'm not sure what do you want. But it is a very simple way.

 

you offer a user two date range to select from.

 

name it as $date1 and $date2.

 

then use SQL to do the query

 

"SELECT * FROM your_table WHERE date BETWEEN $date1 AND $date2";

 

you may add wherever necessary. I guess you are doing report.

 

regards,

chai

well, i'm not sure what do you want. But it is a very simple way.

 

you offer a user two date range to select from.

 

name it as $date1 and $date2.

 

then use SQL to do the query

 

"SELECT * FROM your_table WHERE date BETWEEN $date1 AND $date2";

 

you may add wherever necessary. I guess you are doing report.

 

regards,

chai

you offer a user two date range to select from.

 

what do you mean?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.