zetcoby Posted July 13, 2012 Share Posted July 13, 2012 i wanna know what is the best way to deal with the database, by that i mean: >>> if i have a huge project and every time a user logs on a page to view the goods that are for sale how can i make it so that if he goes to an other page and after a while return back to the goods page, i want that page not to take the info again from the DB but mantain it somewhere, all i want is to check if the DB has updated so only then the page should take the info again from the DB... I dont reall know how to put this.... all i wan is to use the DB less not using a query every time i need some info from the DB Is there a way to do this? Quote Link to comment Share on other sites More sharing options...
NomadicJosh Posted July 13, 2012 Share Posted July 13, 2012 It seems as if you are looking to cache the database query in order to return the results of the cache. This db class hasn't been updated since 2006, but it may give you some ideas on how to accomplish what you want: http://www.troywolf.com/articles/php/class_db/ Quote Link to comment Share on other sites More sharing options...
zetcoby Posted July 13, 2012 Author Share Posted July 13, 2012 thank you, it is exactly what i need Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.