![]() |
Why does this query collect only the first letter? - 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: Why does this query collect only the first letter? (/showthread.php?tid=32024) |
Why does this query collect only the first letter? - El Forum - 07-10-2010 [eluser]shinokada[/eluser] I have the following db. Code: CREATE TABLE IF NOT EXISTS `support_details` ( When I use the following controller and model I get the only first letters. Controller Code: function customer(){ Model Code: function getAllCustomerRecord($id){ Outputs Code: 17201fs I am trying to get an array of data, with id 1,2,3 and other details. What am I doing wrong here? I am hoping someone point out my mistake and lead to the right direction. Thanks in advance. Why does this query collect only the first letter? - El Forum - 07-10-2010 [eluser]treeface[/eluser] Can you do die(var_dump($Q)) before you free the result and post the output here? Why does this query collect only the first letter? - El Forum - 07-11-2010 [eluser]shinokada[/eluser] I changed to this and it works now. Thanks. Code: $data = array(); |