View Single Post
  #10  
Old 02-17-2011, 02:48 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 26,312
PTGigi
Default

Guys a change was made so if you're using this please add in this new edit It's not much, just a drop-down menu that allows the user to use ONLY their own adoptables.

The "Pet Spotlight Details" and replace entirely with this:
PHP Code:
  <p><u>Pet Spotlight Details: </u></p>
  <
p>Favorite Pet ID

    <
select name='favpet' id='favpet'>
      <
option value='' selected>No Pokemon Selected</option>";
      
// We need to stop here and fetch our adoptables...

    
$query = "SELECT FROM ".$prefix."owned_adoptables WHERE owner '".$loggedinname."' ";
    
$result = mysql_query($query);
    
$num = mysql_numrows($result);

    //Loop out code
    
$i=0;
    while (
$i < $num) {

    
$aid=@mysql_result($result,$i,"aid");
    
$name=@mysql_result($result,$i,"name");
    
    
$article_content = $article_content."<option value='".$aid."'>".$name."</option>";    

    
$i++;
    }

      
   
$article_content = $article_content."</select>
</
p>
  <
p>Favorite Pet Bio
    <
textarea name='about' cols='45' rows='4' id='about'>".$about."</textarea>Here is a bio for your petthe maximum number of characters you can use is 200. You can write whatever you want but abide by the </a href='tos.php'>ToS</a> and do NOT post content that involves an advertisementvulgar language, or any other acts that could get your account bannedBBC is NOT useable for this.
</
p>
    <
input name='act' type='hidden' id='act' value='moreprofile'>
</
p>
  <
p>
    <
input type='submit' name='Submit' value='Submit Details'>
  </
p>
</
form>"; 
__________________


"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo
My Adoptables|Nuzlocke Webcomic
Reply With Quote