from controller to view , how? |
[eluser]JayArias[/eluser]
below is my controller , for the main page. How would i go buy adding the query to my VIEW cause if i put the query code in the view it screws up. ive tried several things. Code: <?php
[eluser]narkaT[/eluser]
from the documentation: Code: $data = array(
[eluser]JayArias[/eluser]
Fatal error: Call to undefined method CI_Loader::modle() in C:\www\system\application\views\default_view.php on line 19
[eluser]Derek Allard[/eluser]
[quote author="Tego10122" date="1224813010"]Fatal error: Call to undefined method CI_Loader::modle() [/quote] Try model() and not modle() ![]()
[eluser]JayArias[/eluser]
[quote author="Srecko Micic" date="1224808905"]You should put that in model not controller.[/quote] what should be placed there? , the whole query or just the array? |
Welcome Guest, Not a member yet? Register Sign In |