Jump to content


This topic is now archived and is closed to further replies.


Refreshing variables

Recommended Posts

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

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.