PDA

View Full Version : Need help with if else statement


hatetank
11-05-2009, 05:21 PM
Looking to put something into a users profile *if* they are viewing their own profile. Wanted to include information about PMs, Comments, etc only for themselves.

Can anyone help with this?

Just want to know what I need for the if part to determine if they are viewing their own profile.

hatetank
11-06-2009, 07:36 PM
Any thoughts?

If this belongs elsewhere please advise.

noonespecial
11-06-2009, 11:07 PM
$bbuserinfo[userid] gets their id.

$userinfo[userid] is the profile id.