help with simple query
My config table:

    name | value
    version > 1.5.6
    title > test

How i try and get it:

    $getCfg = mysql_query("SELECT * FROM config");
    $config = mysql_fetch_assoc($getCfg);

    echo $config['title'];
    
Equals to:

    Notice: Undefined index: title in C:\web\index.php on line 5
    
How would I do to get the value where the name is title?

The above dont work..well if i add WHERE title = 'test' and then echo $config['title']
help with simple query
===

My config table:

    name | value
    version > 1.5.6
    title > test

How i try and get it:

    $getCfg = mysql_query("SELECT * FROM config");
    $config = mysql_fetch_assoc($getCfg);

    echo $config['title'];
    
Equals to:

    Notice: Undefined index: title in C:\web\index.php on line 5
    
How would I do to get the value where the name is title?

The above dont work..well if i add WHERE title = 'test' and then echo $config['title']