Topic: Need to show username on bank.php page

All I need is to show person logged in to my site using the bank...

when someone goes to bank.php I want their username to be shown... how can I do this...

I want it to look like this

Welcome to your bank: [username]

[username]  is the username of the person logged in to mysite...

Please help..

Re: Need to show username on bank.php page

$pun_user['username']

Re: Need to show username on bank.php page

Hi Smartys...

I took what you told me and tried it, but I had no luck... I looked at some of the code on bank.php and noticed that it needed to be this exactly or else I would have an error

'.$pun_user['username'].'

But you put me in the right direction and I thank you for that...

have a good day...

Re: Need to show username on bank.php page

Oh, I thought you were asking for the variable that stores username, not how string concatenation works wink

Re: Need to show username on bank.php page

I am new to php.. and that word concatenation has no meaning to me.. lol...  I looked it up and I do not see how that is what I was looking for...

concatenation = the act of linking together as in a series or chain

I just wanted to show it on my webpage... lol. I guess in PHP it has a whole other meaning...

Re: Need to show username on bank.php page

http://en.wikipedia.org/wiki/Concatenation