hi all,
i want to view roles that i assign to users in my user(view) gridview(i used yii rights extension).
this is my user table
CREATE TABLE IF NOT EXISTS `alt_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(255) DEFAULT NULL,
`middle_name` varchar(255) DEFAULT NULL,
`last_name` varchar(255) DEFAULT NULL,
`username` varchar(30) NOT NULL,
`password` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`picture` text,
`birthday` date DEFAULT NULL,
`country` varchar(30) DEFAULT NULL,
`address` text,
`tele` varchar(20) DEFAULT NULL,
`fax` varchar(20) DEFAULT NULL,
`web` text,
`status` enum('Active','Inactive') NOT NULL DEFAULT 'Active',
`date_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=24 ;
how i do that? plz help me..
thanks chamara
i want to view roles that i assign to users in my user(view) gridview(i used yii rights extension).
this is my user table
CREATE TABLE IF NOT EXISTS `alt_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(255) DEFAULT NULL,
`middle_name` varchar(255) DEFAULT NULL,
`last_name` varchar(255) DEFAULT NULL,
`username` varchar(30) NOT NULL,
`password` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`picture` text,
`birthday` date DEFAULT NULL,
`country` varchar(30) DEFAULT NULL,
`address` text,
`tele` varchar(20) DEFAULT NULL,
`fax` varchar(20) DEFAULT NULL,
`web` text,
`status` enum('Active','Inactive') NOT NULL DEFAULT 'Active',
`date_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=24 ;
how i do that? plz help me..
thanks chamara