Welcome Guest, Not a member yet? Register   Sign In
Problem with Selecting Data form Database
#11

[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
#12

[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.
#13

[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
#14

[eluser]TheFuzzy0ne[/eluser]
You goon. Tongue

Glad you got it sorted. Smile




Theme © iAndrew 2016 - Forum software by © MyBB