C.R.Vegelin wrote: ...
> > Hi Jochem, > > The reason for a redirect is that Report.php has functionality such as > sorting on report columns, checkboxes to make graphs etc. > > Suppose the following report columns: > Country 06.Q1 06.Q2 06.Q3 06.Q4 07.Q1 07.Q2 > 1 Austria 1226 1211 1233 1328 1386 1362 > 2 Belgium 1004 1193 1008 9737 1102 1270 > 3 etc. > > If I don't use a redirect but an include Report.php then Engine.php must > be rerun: > - every time a user wants to sort on a columns, eg. Y06.Q1 > - every time a user wants to make a graph with selected rows. > > Right ? I did use an include but I'm changing it because of the reasons > above. using a redirect doesn't solve the 'problem' - what does Engine.php doe exactly? how long does it take? your going to have think about caching the dataset generated by Engine in some way ... and sticking a MySQL resultset resource id in $_SESSION is not going to work. also does calling the script 'Report.php' mean you no longer have to refresh the page if you want to use different parameters? or do you still have to do a page refresh?? > I know it does have its price. > > Regards, Cor > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php