Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $centerPanelBlock->assign('fetchUserAccess',$objClsStudInfo->fetchUserAccess($_SESSION['admin_session_obj']['user_type']));
- function fetchUserAccess($user_type){
- $sql = "select * from dps_main_db.app_usermoduleaccess_header where user_type = '$user_type'";
- $temp_data = $this->conn->Execute($sql);
- foreach($temp_data as $value){
- $useraccess_form = $value['useraccess_form'];
- }
- //unserialize($useraccess_form);
- return unserialize($useraccess_form);
- }
- if($fetchUserAccess['reg']!=false)
Add Comment
Please, Sign In to add comment