changes references to mysql_fetch_all to mysqlFetchAll