Jump to content

Refreshing variables


master82

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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.