View Single Post
  #1  
Old 07-22-2009, 04:43 PM
arlecchina arlecchina is offline
Member
 
Join Date: Feb 2009
Posts: 65
Credits: 4,836
arlecchina
Default levelup.php - Message if user owns pet they are leveled up/can't level up

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.
Reply With Quote