View Single Post
  #3  
Old 11-11-2013, 08:27 PM
Infernette Infernette is offline
CODE CODE CODE CODE CODE
 
Join Date: Jan 2013
Location: Where I live? I live home.
Posts: 164
Gender: Female
Credits: 32,911
Infernette is on a distinguished road
Default

I can't seem to get it to work, I get this :
Adopt/Price:Cannot fill option objects inside this dropdownlist
As an error, code:
PHP Code:
        $ids $mysidia->db->select("owned_adoptables", array("aid"), "owner = '{$mysidia->user->username}' AND bred != 'comp' AND attached = 'no' and currentlevel > 6 and selling = 'no'")->fetchAll(PDO::FETCH_COLUMN);    
        
$names1 $mysidia->db->select("owned_adoptables", array("name"), "owner = '{$mysidia->user->username}' AND bred != 'comp' AND attached = 'no' and currentlevel > 6 and selling = 'no'")->fetchAll(PDO::FETCH_COLUMN);

$index 0
            foreach(
$names1 as $names){ 
                    
$equals " ("
                    
$equals2 ")"
                    
$nameFinal $names .= $equals .= $ids[$index] .= $equals2
                     
                    
$index++; 
            }  
        
$adoptable->fill($nameFinal$ids);
        
        
$chooseFrom->add($adoptable); 
__________________
No, I have no idea what I'm doing. But it works. Barely.
Reply With Quote