Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 04-05-2012, 12:49 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 702,017
Hall of Famer is on a distinguished road
Default

PHP Code:
function getfamilynames($familymember$generation){   
$familyname = array(array());   
  for(
$i=0$i<=$generation$i++){ 
    for(
$j=0$j<count($familymember[$i]); $j++){       
      
$stmt $adopts->query("SELECT * FROM {$GLOBALS['prefix']}owned_adoptables WHERE aid = '{$familymember[$i][$j]}'");       
      
$thisadopt $stmt->fetchObject();        
      if(!
is_object($thisadopt)) $familyname[$i][$j] = "<br>";       
      else 
$familyname[$i][$j] = $thisadopt->name
    } 
  } 
  return 
$familyname
  } 
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace shoutbox with a different chat box tahbikat Questions and Supports 0 12-01-2015 10:07 AM
Does this script always not work? PokeFerno Questions and Supports 5 05-10-2014 02:17 PM
Oh My God. Something else does not work PokeFerno Questions and Supports 1 05-10-2014 11:14 AM
Links will not work Eagle9615 Questions and Supports 4 07-04-2013 12:30 AM
Replace Index Page SilverDragonTears Questions and Supports 0 06-02-2011 10:24 PM


All times are GMT -5. The time now is 04:40 AM.

Currently Active Users: 3559 (0 members and 3559 guests)
Threads: 4,082, Posts: 32,047, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636