value), '%d')); $table_data = views_fetch_data($this->name_table); $table = array_shift($table_data['table']['join']); $result = db_query("SELECT $this->name_field AS title FROM {". $table['table'] ."} WHERE ". $table['field'] ." IN ($placeholders)", $this->value); while ($row = db_fetch_object($result)) { $titles[] = check_plain($row->title); } return $titles; } }