Preparing for JSON encode.
Switching MYSQLI to MYSQL