I have gotten the role id and role name which works perfectly but the if function in my loop does not get called for the role id to be saved on the database
this is t