Thread:Extension talk:PageInfo/An apostrophe in the name causes an SQL error/reply

Looks like $db->select should be used here.