Report showing the old data in excel

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

Post Reply
raj86
Forum Commoner
Posts: 25
Joined: Tue Sep 29, 2009 12:28 am

Report showing the old data in excel

Post 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
thecodewall
Forum Commoner
Posts: 33
Joined: Sun Dec 26, 2010 8:37 am

Re: Report showing the old data in excel

Post by thecodewall »

I think you must post the code for generating excel, I think the problem is there.
Last edited by thecodewall on Tue Jan 04, 2011 11:23 pm, edited 1 time in total.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Report showing the old data in excel

Post 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
Post Reply