![]() |
Undefined variable: query - 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: Undefined variable: query (/showthread.php?tid=24605) |
Undefined variable: query - El Forum - 11-13-2009 [eluser]GamingFusion[/eluser] I have a page that needs to get data from the database and place it into fields but my function in the model i think isnt working right but i not sure what isn't working Controller Code: function general() model Code: function getFieldsAll($table) Undefined variable: query - El Forum - 11-14-2009 [eluser]bigtony[/eluser] You're going to kick yourself... Code: // change this Code: // this will correctly return TRUE or FALSE Undefined variable: query - El Forum - 11-14-2009 [eluser]GamingFusion[/eluser] thanks man i did kick myself for that. and thanks for the tip |