View Single Post
  #2  
Old 04-30-2012, 08:00 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 33,317
fadillzzz is an unknown quantity at this point
Default

First, grab the object instance of the result.
PHP Code:
$getFather $adopts->select("owned_adoptables", array(), "aid='{$father}'")->fetchObject(); 
Then simply fetch the property that stores the name.
PHP Code:
$getFather->name
Reply With Quote