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
  #1  
Old 04-03-2012, 07:57 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 85,644
SilverDragonTears is on a distinguished road
Default How to replace this to work with new Mys

Anyone know what to replace the query with to work with the new functions? I've tried things but nothing works.

PHP Code:
function getfamilymembers($aid$generation){
  
$familymember = array(array($aid));  
  for(
$i=0$i<$generation$i++){
    for(
$j=0$j<count($familymember[$i]); $j++){
      
$query "SELECT * FROM {$GLOBALS['prefix']}owned_adoptables WHERE aid = '{$familymember[$i][$j]}'";
      
$thisadopt mysql_fetch_array($result);
      
$familymember[$i+1][2*$j] = $thisadopt['mother'];
      
$familymember[$i+1][2*$j+1] = $thisadopt['father']; 
    }     
  }
  return 
$familymember;

__________________

Check out SilvaTales
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 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 01:05 PM.

Currently Active Users: 913 (0 members and 913 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