cliftonbazaar Posted January 3, 2011 Share Posted January 3, 2011 Newbie to Java so please be gentle 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 Quote Link to comment Share on other sites More sharing options...
scuff Posted January 4, 2011 Share Posted January 4, 2011 change the value of what? Quote Link to comment Share on other sites More sharing options...
cliftonbazaar Posted January 4, 2011 Author Share Posted January 4, 2011 If the value is $name then I want to be able to click on another characters name and the value of $name changes and the page is reloaded. Quote Link to comment Share on other sites More sharing options...
haku Posted January 4, 2011 Share Posted January 4, 2011 Without code you are not going to get any specific answers. Show the code that is causing the problem for you. 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.