In my code I have a mysql query:
"SELECT username,password FROM users WHERE username = 'Tyler'"
This query doesn't return anything in codeigniter but it does return username and password if I query in phpmyadmin. Does anyone have any idea what is wrong? I'm guessing it has something to do with the configuration. Also I don't get any error messages, I get a null return when I use:

Thanks in advance,

It's more likely to be an issue with your code, as the query itself is correct (as you tested).