Fixed Clean function

Fixed clean function to work with MySQLI instead of MySQL....Should be
working...?