code help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
starwaddi
Forum Newbie
Posts: 1
Joined: Thu Apr 06, 2006 2:14 pm

code help

Post by starwaddi »

i need some help i want to use this php code for my profile that i work for it makes the user name apear on profile someone show me how i no the code <?php echo "$info->username"; ?> just need to no how to use it on profile thanks

Code: Select all

<?php echo "$info->username"; ?>
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Can you please post the code for the $info object? It's hard to make a suggestion without seeing the code :wink:

Perhaps

Code: Select all

echo $info->profile;
?
Post Reply