Problem with Selecting Data form Database - 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: Problem with Selecting Data form Database (/showthread.php?tid=57369) Pages:
1
2
|
Problem with Selecting Data form Database - El Forum - 03-10-2013 [eluser]haris244808[/eluser] i treid to create a new view called test.php and i passes OK...i dont knwo why to the view page i am using doesnt work :S Problem with Selecting Data form Database - El Forum - 03-10-2013 [eluser]TheFuzzy0ne[/eluser] Everything looks just fine to me. I'm really confused... What version of PHP are you running? What server are you running (is it XAMPP), and on what OS? I would suggest hacking the system files, and back-tracing the call, and debugging. The place to start would be _ci_load() in ./system/core/Loader.php. I know it looks a bit daunting, but it's surprisingly simple. Before the variables are extract()ed, you should check $this->_ci_cached_vars to make sure that 'query' is there. And afterwards, check that the $query variable exists after extract() has been called. Don't forget to replace the system files with the default files when you're done. Problem with Selecting Data form Database - El Forum - 03-10-2013 [eluser]haris244808[/eluser] srry for bothering man, i resolved the problem... I was just calling data to the view in the wrong way...from different controller thnx for all btw Problem with Selecting Data form Database - El Forum - 03-10-2013 [eluser]TheFuzzy0ne[/eluser] You goon. Glad you got it sorted. |