PHP : MySQLi ultimate connect, query, fetch, and parse result