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

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -