Nested View: Pass variable so that correct query results returned |
[eluser]Tumac[/eluser]
First: I am new to CI but understand already basic MVC concepts. I think this is what I am trying to accomplish but not sure CI Subview thread I have a nested view that is part of a tabset. The nested view is returning records of a query to the DB. I would like to pass a variable from that nested view so that the records returned are only for that "key/variable". I believe I may be missing something here as my "main()" function of my controller gets query results for the subview but does not use them on the "home" view. Make sense? (prolly not...) NESTED VIEW Code: <table class="tlctable"> MAIN VIEW Code: <?php CONTROLLER Code: function main() { MODEL Code: function getPOinfo($cusID) { |
Messages In This Thread |
Nested View: Pass variable so that correct query results returned - by El Forum - 12-16-2009, 06:09 PM
Nested View: Pass variable so that correct query results returned - by El Forum - 12-16-2009, 06:33 PM
Nested View: Pass variable so that correct query results returned - by El Forum - 12-17-2009, 01:17 AM
Nested View: Pass variable so that correct query results returned - by El Forum - 12-17-2009, 06:39 AM
Nested View: Pass variable so that correct query results returned - by El Forum - 12-17-2009, 12:07 PM
Nested View: Pass variable so that correct query results returned - by El Forum - 12-17-2009, 01:12 PM
Nested View: Pass variable so that correct query results returned - by El Forum - 12-17-2009, 01:46 PM
Nested View: Pass variable so that correct query results returned - by El Forum - 12-17-2009, 01:50 PM
|