# Data Won't Refresh? Cache?

**URL:** <https://forum.kirupa.com/t/data-wont-refresh-cache/107511>\
**Category:** Uncategorized\
**Created:** [April 16, 2004, 2:36am UTC](https://forum.kirupa.com/t/data-wont-refresh-cache/107511 "2004-04-16T02:36:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GreenLantern](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/greenlantern/32/393_2.png) [@GreenLantern](https://forum.kirupa.com/u/GreenLantern)\
**Post date:** [April 16, 2004, 2:36am UTC](https://forum.kirupa.com/t/data-wont-refresh-cache/107511/1 "2004-04-16T02:36:52Z")

</div>

I have a piece of flash that pulls data from a mySQL database via PHP.

Problem:  
If I load the page, then change the data in the SQL database, then refresh the page, the data does not update?

How can I make sure that the data is pulled from the database everytime the page is loaded?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 25, 2004, 2:47am UTC](https://forum.kirupa.com/t/data-wont-refresh-cache/107511/2 "2004-05-25T02:47:57Z")

</div>

Yes, you can make it even more powerfull by having it get a random number between 1 and 10000 (or something), instead of the timer.
