How to print id of user whose profile I visit rather than id of  logged in user? Possible Duplicate:
  How to print id of user whose profile I visit rather than id of  logged in user?  




I would like to print the id of the user on his profile page? How can I do it in Drupal 7. So far I could only print logged in user id..Any advice appreciated.
If you add this to the user-profile.tpl.php template, it will show the UID of user account being viewed. 

&lt;?php echo $account-&gt;uid;?&gt;