Quote:
Originally Posted by Link14716
1. It'd be a simple change to everywhere $points is defined, but the code below just makes a new variable - $bankmoney. $points shouldn't include what is in the bank, otherwise it'll cause weirdness all over the store. Feel free to store $points + $bankmoney in a new variable though.
PHP Code:
$bankdata = unserialize($bbuserinfo['uttstore_bankdata']); $bankmoney = $bankdata['amount'];
|
Not quite sure how to institute this code to get it to display $bankmoney everywhere? I can get it to show in the navbar with $bankdata[amount] ONLY when the user is actually in the bank, which kinda defeates the purpose. Everyplace else it's blank.