fixed updateResCount.php to use fetch_array
Merge branch 'fix-mysql-updateResCount' into deploy