master82 Posted January 5, 2007 Share Posted January 5, 2007 I have a page (several) that display values at the top of the page from the database, and content / links further down.If you click a link that alters one or more of these values the page loads up and the values havent changed, its only when you click on another page the values are visibly updated.So is there a way you can actually refresh the values on a page without actually doing a refresh such as pressing F5??? Quote Link to comment https://forums.phpfreaks.com/topic/33031-refresh-page-after-calculation/ Share on other sites More sharing options...
Daniel0 Posted January 5, 2007 Share Posted January 5, 2007 You could use JavaScript: [code]location.href=location.href[/url][/code] Quote Link to comment https://forums.phpfreaks.com/topic/33031-refresh-page-after-calculation/#findComment-153859 Share on other sites More sharing options...
EKINdesigns Posted January 6, 2007 Share Posted January 6, 2007 @Daniel0:That is the same thing as pressing the refresh button@master82Look into ajax. Its your best bet. Quote Link to comment https://forums.phpfreaks.com/topic/33031-refresh-page-after-calculation/#findComment-153891 Share on other sites More sharing options...
master82 Posted January 6, 2007 Author Share Posted January 6, 2007 Ok thanks... :) Quote Link to comment https://forums.phpfreaks.com/topic/33031-refresh-page-after-calculation/#findComment-153945 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.