Ok here it goes.
What code do i have to use so that
<?php if ($current_user->ID) {
$user=get_userdata($current_user->ID);
echo $comment->user_id;
} ?><?php echo get_avatar($current_user->ID,$size='50'); ?>
this code ^^ displays avatars, each id has a different avatar, i am wondering if i have it so that it has avatars.php?id=id here it changes the avatar. What php code do i need? so basically the ID in the link will replace all of the id usage in the above php code.



Reply With Quote


Bookmarks