I have developed the html Frame.
Which contain two php pages
First show the data in the table which is comming from database
and refresh after 30sec
and click on the tr it shows the data in the second frame as in graph(candle chart).

Everything is working fine.
But Problem is everytime it connect to database.
Is there any alternative to this as i dont want to hit server everytime.
This is the Requirement

Recommended Answers

All 3 Replies

Is the data different after 30 secs? If not, cache the sql result. If it is, then there is no alternative. How will you retrieve data without connecting?

Thanks pritaeas,

Actually we are showing the online data
Everytime connecting to database will impact the server.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.