people I have a user table that has a category field that is a boolean field, at some point in my code I need only if category is true I show an option in my menu but I do not know how to put this in the if, somebody can help me, I'm trying like this but it's not working:
<?php if((['usuario']['categoria']) == "true") {?>
<li id="users">
</li>
<?php }?>