PHP-MySQL存储旧数据 [英] php - mysql storing old data

查看:63
本文介绍了PHP-MySQL存储旧数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的处境很烦人.

一个应用程序的用户在从我的数据库获取更新数据时遇到问题.如下所示:

One application's user is having problem getting updated data from my database. Here as follow:

  1. 用户在我的数据库中生成一条插入语句.

  1. The user generate an insert statement into my database.

当用户列出这些插入内容时,他只有在登录我的应用程序时才获得之前的数据,只有几分钟后,他才能看到他前一段时间发送的数据.

When the user list these inserts, he only got the data that was previous there when he login into my application, only after some minutes he can see the data that he sends a while back ago.

我正在执行insert和select的简单明了语句,只有这个用户遇到了这个问题,其余的用户都很好.

I'm executing simple and plain statements of insert and select, and only this user is getting this problem, the rest of my users are fine.

是否有可能缓存了我从数据库中检索到的值?

Is it possible that somewhat the value that I retrieve from the data base is being cached?

推荐答案

在Flash中,我会有一个长"的幻数,该幻数会不断增加.那么随后对该网址的调用会增加magicnumber并将其添加到该网址中.

in flash i would have a 'long' magicnumber that would increment perpetually. then subsequent calls to the url would increment the magicnumber and add it to the url.

例如

url ="http://example.com?property=948&angle=street-corner&magicnumber=837493"

url="http://example.com?property=948&angle=street-corner&magicnumber=837493"

这篇关于PHP-MySQL存储旧数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆