I want the message a user gets when they level up their own pet to be different than a message they would get if they were leveling up another user's pet. I tried this but it's not working.
PHP Code:
if($loggedinname == $owner){
$ownerinfo = "You own this pet.";
}
else {
$ownerinfo = "";
}
I would insert $ownerinfo into the general message that the user receives when they level up or can't level up a pet.
Thanks for any insight or help in advance.