My MVC schema |
[eluser]cyberjunkie[/eluser]
Hello all! I'm new to Codeigniter and MVC. I designed a pattern to look at when I'm lost. Please let me know if I got something wrong. jump to image
[eluser]Bart v B[/eluser]
your lost because you variabele that you pass is $data['query'] So in simple code in your view should be that: Code: <?php foreach($query as $row): ?> Mind i am guessing the table name.
[eluser]cyberjunkie[/eluser]
[quote author="Bart v B" date="1293012390"]your lost because you variabele that you pass is $data['query'] So in simple code in your view should be that: Code: <?php foreach($query as $row): ?> Mind i am guessing the table name. [/quote] Thanks! I think I got a good pattern to go by now |
Welcome Guest, Not a member yet? Register Sign In |