Page 1 of 1

Report showing the old data in excel

Posted: Mon Dec 27, 2010 5:19 am
by raj86
Hello friends...i am generating reports in excel from my application. I have placed my application on server. i have kept button of download reports. sometimes when i modify data and download new report, it shows the previous generted report. i checked the database, new data updated succesfully. can anyone tell me what is the reason. this is the php query i am using

Code: Select all

<input type="button" name="viewdoc" value="Download Report" onclick='window.location="/master/" + "<?php echo $myfile1; ?>"'> 
thank you

Re: Report showing the old data in excel

Posted: Mon Dec 27, 2010 9:13 am
by thecodewall
I think you must post the code for generating excel, I think the problem is there.

Re: Report showing the old data in excel

Posted: Mon Dec 27, 2010 12:23 pm
by requinix
Except for the blogvertising, he's right: we can't very well fix a car if you hand us only the hood ornament.

Two possibilities:
- Generating the report using the wrong/old ID (or whatever)
- Caching