I am stuck somewhere and need your guidance, basically I am inserting multiple values to single colomn using bit-wise operator OR(|) and my table structure is like
and I am inserting weekdays like 1 for sunday, 2 from monday, 4 for tuesday, 8 for wednesday, and so on separating by pipe sign(|) like for sunday and monday it will insert like 1|2 and so on but when it inserted to table it is showing like that 
So now I want to know how will I select and show the exact value that I have inserted and how to update it using php(codeigniter) and mysql?
I have used this query select cast(column_name as varchar) from table_name and it gives the result by sum all the decoded value like 5 for 1|4, 3 for 1|2, but now how can I convert it to the inserted type like 1|2 for 3 and 1|4 for 5 and so on...