master82 Posted September 4, 2006 Share Posted September 4, 2006 Is it possible to refresh variables recieved from a database?I only ask because my pages are made up of 2 includes, the first is for validation reasons and the second containd the page data.At times the first changes a value or two in the database - but this is not seen in the second include unless I refresh the page.[u]For example[/u]the top include retrieves 'number of clicks' (lets say 10), and excutes code to update that to 11.But the second include which displays the number f clicks still shows 10 (always a step behind)So is there a special php command I can use mid-code to refresh variables?Complicated I know but I hope you see what I am getting at Quote Link to comment Share on other sites More sharing options...
master82 Posted September 4, 2006 Author Share Posted September 4, 2006 Sorry, just read up on include() and include_once()That solved my problem 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.