Updated fetch_array

Made it be able to return associate, number, or both for type.
Update db_mysqli.php
Update db_mysqli.php
Update fetch_array

Makes fetch_array get a second parameter to determine which format to return.
Updated fetch_array

Let it take a second parameter for the result type to return.
Merge pull request #852 from dragonexpert/master

Fixes fetch_array not having a second parameter
Renaming inner query to $update_thread_ratings_query.
Merge pull request #911 from euantorano/fix-883-multidelete-broken

Fixed #883