PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
It looks like you're using Smarty. Maybe I have something wrong or you're inserting it incorrectly. Have a look at the Smarty conditionals manual. If you've inserted it, look for your "templates_c" directory or something similar and delete the files in it to force Smarty to regenerate any templates it may be caching. That should fix it. If not, let me know.