abisson Posted July 27, 2007 Share Posted July 27, 2007 Hey guys, I am using CakePHP. I just want in my Index to switch my type. I get type = 1, and I would like to change it for admin.. Here is my echo command for my table. Should I add at the end something like... if type =1 echo admin? <td><?php echo $user['User']['type']; ?></td> Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/62038-substitute-type-1-for-admin/ Share on other sites More sharing options...
abisson Posted July 31, 2007 Author Share Posted July 31, 2007 !up Quote Link to comment https://forums.phpfreaks.com/topic/62038-substitute-type-1-for-admin/#findComment-312042 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.