Expand|Select|Wrap|Line Numbers
- $result = mysql_query("SELECT * FROM AFL_BoE_Chapters WHERE ((boe_type='Chapter Index List') AND ('boe_required_level' >= '".$lvl."' )) ORDER BY boeID ASC")
It is used as a 'level' for the user.
So this result is supposed to select only the content that is of the same level as the user, or higher.
The problem is that it selects content which level is above the user, though it works otherwise, but if you might know why this happens.