Variables are not passing in view from my controller |
The array: $data is exploded before passing to the view. Only the array elements are exposed to the view, which is why the reported error is: "Undefined variable:"
Code: <?php Comment the line as shown above and test again.
CI 3.1 Kubuntu 19.04 Apache 5.x Mysql 5.x PHP 5.x PHP 7.x
Remember: Obfuscation is a bad thing. Clarity is desirable over Brevity every time. |
Messages In This Thread |
Variables are not passing in view from my controller - by dragonabv - 03-11-2015, 10:27 PM
RE: Variables are not passing in view from my controller - by InsiteFX - 03-12-2015, 04:24 AM
RE: Variables are not passing in view from my controller - by dragonabv - 03-12-2015, 05:30 AM
RE: Variables are not passing in view from my controller - by twpmarketing - 03-12-2015, 10:05 AM
RE: Variables are not passing in view from my controller - by mwhitney - 03-12-2015, 10:17 AM
RE: Variables are not passing in view from my controller - by madaan_tushar - 05-26-2015, 10:10 AM
|