php - displaying the result of a database query on change without refreshing the browser -


i have php script writes data file every 5 seconds , have second php script opens file , queries database based on value in file..

so display result of query need run php script on browser..since data in file keeps changing,so result of query keep changing,but can see new result when refresh browser..

i want way in can see new result of query without refreshing browser.. new hope explained problem best..waiting solution..thanks

you'll need use ajax function retrieve data, , javascript update browser. check out http://api.jquery.com/jquery.ajax place start.


Comments

Popular posts from this blog

razor - Is this a bug in WebMatrix PageData? -

iphone - Requiring the presence of a method in an id -

xslt - Is it possible to select a node that just includes a subset of the child nodes? -