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

Be a part of the DaniWeb community

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