comparison condition is not true |
[eluser]alberta[/eluser]
hello, I am using parse. On view page i've this code. Code: <?php but it always goes to else part even status is Active or Inactive ![]() Kindly guide me What's wrong with this code? Thanks in advance
[eluser]Wuushu[/eluser]
Code: <?php Does that work better?
[eluser]tomcode[/eluser]
Would be surprised that Your solutions work, so here's my take : Code: <?php
[eluser]alberta[/eluser]
Hey I have tried both of the code suggested by you people. But both r not working. As i'd told em using parser so it is showing me value when i write '{status}' instead of $status or {status}. I have echoed the values and it is showing exact value when i write '{$status}' but inspite of this it goes to else part. I dont know what's wrong with it ![]()
[eluser]alberta[/eluser]
what i meant by parser was that I am using template parser http://ellislab.com/codeigniter/user-gui...arser.html and for that i would have to wirte '{status}'
[eluser]alberta[/eluser]
Can some one tell me how i can put this if conditon alongwith template parser. As i've written code above. I have searched a lot but found no solution ![]() Any help would be appreciated |
Welcome Guest, Not a member yet? Register Sign In |