Is it possible to use nested loops in parser templates? |
(03-06-2019, 05:37 PM)ciadmin Wrote: If you want nested variables to also see the level above them, then you need to pass true as a second parameter to the render() call. See https://codeigniter4.github.io/CodeIgnit...er-options No, this is not I would like to do. I just would like to have two nested loops. But this does not seem to work because the output is: Quote:-->header: one twoThe header loop is correct but the second (inner) loop is not. Only the last result of the loop is used. |
Messages In This Thread |
Is it possible to use nested loops in parser templates? - by HardyW - 03-06-2019, 03:34 PM
RE: Is it possible to use nested loops in parser templates? - by ciadmin - 03-06-2019, 05:37 PM
RE: Is it possible to use nested loops in parser templates? - by HardyW - 03-07-2019, 11:01 AM
RE: Is it possible to use nested loops in parser templates? - by ciadmin - 03-14-2019, 12:09 AM
|