php user id assignment not working

后端 未结 1 1967
夕颜
夕颜 2021-01-26 01:00

I am trying to user create user group system like facebook but i have problem with user id assignment.

My database design for users table:

username

uid         


        
相关标签:
1条回答
  • 2021-01-26 01:17

    You have just forgotten to place the third parameter on your call to

    // missing param 3
    $regg=$group_user->Create_User_group($group_name,$group_information);
    

    Should be

    $regg=$group_user->Create_User_group($group_name,$group_information, $THE_UID_PARAM);
    
    0 讨论(0)
提交回复
热议问题