Parser and if statement |
This is my original code in contoller
PHP Code: $query = $this->users_mod->allProducts(); In view I go like this: Code: <tbody> How to change my controller to get in view for active what I want to? I want to if {active} == 1 to write active, and if {active} == 0 to write disabled. Can you help me? |
Welcome Guest, Not a member yet? Register Sign In |