Jump to content

Change a value then reload the page


cliftonbazaar

Recommended Posts

Newbie to Java so please be gentle  :shy:

 

I am programming a game where you have the ability to change which character you are; unfortunately when you change character the page doesn't always go back to exactly where you were (for example if you were on page 'town.php?building=hospital' then you would goto 'town.php').

Is there a Javascript method of simply changing a value (only one value needs to change) and then reloading the page.

 

I have tried this with PHP but seem to come up short  :-[

 

James

Link to comment
https://forums.phpfreaks.com/topic/223300-change-a-value-then-reload-the-page/
Share on other sites

Archived

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

×
×
  • 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.