Have a problem cant figure out... - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Have a problem cant figure out... (/showthread.php?tid=6723) |
Have a problem cant figure out... - El Forum - 03-09-2008 [eluser]zeedy2k[/eluser] Sorry for being a pain and asking but I have tried everything and while Im learning PHP I dont have the knowledge to work out this problem... If you look at http://www.findajobni.com/browse/accounting/2147483647 you will see numerous errors but its counting the right jobs for that category... Now the code I am using it working on another site I have done and I just copied across and modified... here is the code in the controller: Code: $countit = $this->db->query("SELECT * FROM `jobs` WHERE `category` = '".$this->uri->segment(3)."' ORDER BY `id` ASC"); The initial repeat call is this Code: <? Really am stuck... any help reallllllllly appreciated :d Robert Have a problem cant figure out... - El Forum - 03-09-2008 [eluser]zeedy2k[/eluser] Sorry, figured it out... I was running another query called $query so I just changed that name... |