loneranger1982 Posted February 18, 2008 Share Posted February 18, 2008 hi i am try to use bit operators in my script i have $mondaymorning=1 $mondayafternoon=2 $mondayevening=4 $tuesdaymorning=8 ect i then have a person stored what sessions they want stored in bit format when i do if($personsession & $mondaymorning) but i want to display all the selected sessions but don't want to keep doing if's any suggestions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.