I had to use $db->get_results("SET NAMES utf8"); after connecting to the DB to make sure I would transfer my characters correctly. I have a lot of special chars like ç, ã, õ, é, ê, etc in my db and every row that had one of those chars it was returning null for that field.
Hi,
I had to use $db->get_results("SET NAMES utf8"); after connecting to the DB to make sure I would transfer my characters correctly. I have a lot of special chars like ç, ã, õ, é, ê, etc in my db and every row that had one of those chars it was returning null for that field.