Dear All,
My application will automatic generate new table in every month & every quarter. eg. sales2011m(01..12) [Jan to Dec], sales2011q(1..4) [4 Quarters]. (for this case is Dec & Q4) All monthly transactions will stored in sales2011m12 and during end of month, the total sales will update to sales2011q4.
Now I'll like to create a monthly report which allow me to select year, month to view and the other Quarterly report allow me to select year, quarter to view.
My question is, how to make phprunner to select and read the correct table in order to generate the report base on month / quarter selected?
eg. select * from dynamic_table_name
...
Regards,
php.Newbie