Example:
User just deposited X amount of gold/etc into their bank and hit submit. The bank codes all update and let the user know that their deposit went through and they now have X amount of gold/etc in their bank.
The page was not refreshed.
The user can always see their gold/etc amount in the constant stat panel I have in my layout - so I was wondering how I could get that to show the loss of gold/etc when they visit the bank or even a store (once that is built) without having to refresh the page.
Their currency right now is simply being shown by
Code: Select all
<?php
echo $characterinfo3['credits'];
?>