Update madsqli.class.php

Select bug fix.