Question: I am currently facing the problem of creating many (over 20) scales in Tkinter and naturally I am trying not to create and use them "manually".  

Creating works just fine:

```
for ii in range(0,25):
  nam='input_a' + str(ii)
  nam = Scale(master, from_=100, to=0, orient=VERTICAL)
  nam.grid(row=0, column=2+ii)

```

Problem occurs when I am trying to get the values:

```
import numpy as np

def Aux():
  a=np.zeros(25)
  for ii in range(0,25):
    nam='input_a'+str(ii)
    a[ii]=nam.get()
  return a

```

The problem: `nam` is still a str-object, therefore it couldn't have an attribute `get`.  

Any hints? Thanks!

Answer: 
```
    var $username;
    var $password;
    var $hostname;
    var $database;

```

these values are blank give valid values for above variables
try this,

```
$param = array('username' => 'root', 'password' => 'password', 'hostname' => 'localhost', 'database' => 'DBNAME');

$db = new CI_DB_driver($param);

```

$param array have all the required details which will be used to connect the database.