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! 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 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
Archived
This topic is now archived and is closed to further replies.