![]() |
[SOLVED] coding problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: [SOLVED] coding problem (/showthread.php?tid=7821) |
[SOLVED] coding problem - El Forum - 04-24-2008 [eluser]Thorpe Obazee[/eluser] oK. I am having a problem with my code. I am trying to echo a "true". So far I cannot echo a "true" here. There must be something that I am doing wrong :| Code: class Loan extends Controller { model: Code: <?php [SOLVED] coding problem - El Forum - 04-24-2008 [eluser]webthink[/eluser] Looks good to me... Try getting the output from $this->db->last_query() then running it manually to see why the query isn't returning results. [SOLVED] coding problem - El Forum - 04-24-2008 [eluser]wiredesignz[/eluser] That's a very distracting avatar man. :lol: Where is the code failing? Does the Controller echo "false"? Try print_r($query) to see the Model results. [SOLVED] coding problem - El Forum - 04-24-2008 [eluser]Thorpe Obazee[/eluser] Yep it gives me a false on every thing even the right username and password. I will try testign a little bit. Edit: oK. I think I made a booboo. I was trying a wrong username and password. It turns out that I thought I was entering the right username and password. |