Mysidia Adoptables Support Forum  

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

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 04-04-2012, 11:49 PM
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: 395,877
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
  #12  
Old 04-11-2012, 07:16 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 84,834
SilverDragonTears is on a distinguished road
Default

Now how about getting it to work with the version I have now? lol

Ohhh just add ".constant("PREFIX")." :) I'm getting better at this, huh?
__________________

Check out SilvaTales

Last edited by SilverDragonTears; 04-11-2012 at 07:28 PM.
Reply With Quote
Reply


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 09:07 AM
Does this script always not work? PokeFerno Questions and Supports 5 05-10-2014 01:17 PM
Oh My God. Something else does not work PokeFerno Questions and Supports 1 05-10-2014 10:14 AM
Links will not work Eagle9615 Questions and Supports 4 07-03-2013 11:30 PM
Replace Index Page SilverDragonTears Questions and Supports 0 06-02-2011 09:24 PM


All times are GMT -5. The time now is 10:31 AM.

Currently Active Users: 757 (0 members and 757 guests)
Threads: 4,080, Posts: 32,024, 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 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636