Hello guys, I'm using the following code to get userid and other stuff from database but everytime a special character like "TM" appears, the query doesn't return any result.
PHP Code:
$db->query_read("SELECT userid, avatarid, avatarrevision FROM " . TABLE_PREFIX . "user WHERE username = 'LeO?'");