Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $progress['1'] = "partial_easy";
- $progress['2'] = "easy";
- $progress['4'] = "partial_normal";
- $progress['8'] = "normal";
- $progress['16'] = "partial_heroic";
- $progress['32'] = "heroic";
- $progress['64'] = "partial_legendary";
- $progress['128'] = "legendary";
- $byte = '64'; // This would be from a database, stored in a TINYINT field (1 byte)
- echo $progress[$byte];
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement