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:
var_dump($user->return_array);

Thanks in advance,
xNZxAssAssiNx

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.