one record with status = 1 others = 0

Posted 10 months ago by Nasr1

so what i want is , in dashborad there is a slider and a user can create many , what i want to do if a slider selected As ACTIVATED all other sliders set to INACTIVE , as only one recored can have status = active or 1 and then automatically it make the reset of recoreds or the one before disactive or 0 , plz help me any this , thanks in advance ^^

Please sign in or create an account to participate in this conversation.