Question?
I'm creating a new page with PHP (I already have it setup) because I grabbed my template.html and replaced :ARTICLECONTENT: with my PHP's text. Well, in my side bar I have (in functions/functions.php) $sidebar = "<h2><font color='#ccb9ec'>Welcome, {$loggedinname}!<br /></font></h2> but {$loggedinname} doesn't work in my normal PHP file. How can I get it to work where it will show the logged in user's username? Because :SIDEFEED:, :BROWSERTITLE:, etc doesn't work in my PHP file. I also need to get the logged in user's cash amount to show up.. Thanks.
|