... from mysql_* to mysqli_* worked well. But when the mysql_real_query() method executes, it is returning NIL, and the documentation says that it was suppose to return true or false (1 or 0, i guess). And now I just can't figure out what's wrong with the migration. Does anyone have a clue? :D